diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-12-09 16:15:33 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-12-09 16:15:33 +0000 |
commit | 1a5dae630df1eef9eac51557b2f1c5dba0924953 (patch) | |
tree | e6ed15b1c15f97998aad854e3cc4c7b9d302027f /build_msvc | |
parent | 3e691258d8789a4a89cce42e7e71b130491594d7 (diff) |
msvc: Define the same `QT_...` macros as in Autotools builds
Diffstat (limited to 'build_msvc')
-rw-r--r-- | build_msvc/common.qt.init.vcxproj | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build_msvc/common.qt.init.vcxproj b/build_msvc/common.qt.init.vcxproj index cc8063e545..dabbec707f 100644 --- a/build_msvc/common.qt.init.vcxproj +++ b/build_msvc/common.qt.init.vcxproj @@ -13,4 +13,10 @@ <QtDebugLibraries>$(QtPluginsLibraryDir)\platforms\qwindowsd.lib;$(QtPluginsLibraryDir)\platforms\qminimald.lib;$(QtPluginsLibraryDir)\styles\qwindowsvistastyled.lib;$(QtLibraryDir)\*d.lib;Wtsapi32.lib;crypt32.lib;userenv.lib;netapi32.lib;imm32.lib;Dwmapi.lib;version.lib;winmm.lib;UxTheme.lib</QtDebugLibraries> </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>QT_NO_KEYWORDS;QT_USE_QSTRINGBUILDER;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + </Project> |