qversiontagging: Fix the imp prefix for 32 bit arm

The underscore symbol prefix is only used on 32 bit x86, not on
other 32 bit architectures such as arm.

Change-Id: Iac82f2d70c8b0c811faa7af5b59805b388b0a00c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
bb10
Martin Storsjö 2022-03-18 09:51:58 +02:00
parent 4b7225c662
commit 81fb9c5b14
1 changed files with 5 additions and 5 deletions

View File

@ -115,12 +115,12 @@ struct QVersionTag
#endif
#if defined(Q_OS_WIN)
# ifdef _WIN64
// 64-bit calling convention does not prepend a _
# define QT_MANGLE_IMPORT_PREFIX __imp_
# else
// 32-bit convention does prepend a _
# ifdef Q_PROCESSOR_X86_32
// 32-bit x86 convention does prepend a _
# define QT_MANGLE_IMPORT_PREFIX _imp__
# else
// Calling convention on other architectures does not prepend a _
# define QT_MANGLE_IMPORT_PREFIX __imp_
# endif
# ifdef Q_CC_MSVC
# pragma section(".qtversion",read,shared)