aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtmsbuild/qt_vars.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtmsbuild/qt_vars.targets')
-rw-r--r--src/qtmsbuild/qt_vars.targets6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qtmsbuild/qt_vars.targets b/src/qtmsbuild/qt_vars.targets
index 7e61cbcf..c86c3656 100644
--- a/src/qtmsbuild/qt_vars.targets
+++ b/src/qtmsbuild/qt_vars.targets
@@ -157,6 +157,12 @@
$(QtVarsProFileInput)
LIBS += $(QtLibs)
</QtVarsProFileInput>
+ <!--
+# Undef UNICODE macro if project is configured with multi-byte char set -->
+ <QtVarsProFileInput Condition="'$(CharacterSet)' == 'MultiByte'">
+ $(QtVarsProFileInput)
+ DEFINES -= UNICODE _UNICODE
+ </QtVarsProFileInput>
<!--// Generate .pro file -->
<!--