aboutsummaryrefslogtreecommitdiff
path: root/build_msvc
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-12-09 16:15:33 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-12-09 16:15:33 +0000
commit1a5dae630df1eef9eac51557b2f1c5dba0924953 (patch)
treee6ed15b1c15f97998aad854e3cc4c7b9d302027f /build_msvc
parent3e691258d8789a4a89cce42e7e71b130491594d7 (diff)
msvc: Define the same `QT_...` macros as in Autotools builds
Diffstat (limited to 'build_msvc')
-rw-r--r--build_msvc/common.qt.init.vcxproj6
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>