summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-01-07 10:22:14 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-07 10:55:37 +0100
commit2984ef35c5d1277896b9f440ff8c226fdb98f9ac (patch)
tree5911418f9a85b711c20bd3e7c5db27f4b6e4b4af /qmake/generators
parent503fd267da497ae9fd5d1a17d5bbfd314b4311d7 (diff)
qmake vcproj generator: Don't generate WinMD by default on WinRT
Visual Studio will default to generating metadata, even if it is not written to the vcproj. Since there is no metadata file, the build will fail. This change keeps a saner default for this option when generating WinRT project files. Task-number: QTBUG-35328 Change-Id: Ie693e270ef0b9d9677d53af0c60905f048235bc5 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/win32/msvc_vcproj.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp
index 4cd93e60cb..3a440f149c 100644
--- a/qmake/generators/win32/msvc_vcproj.cpp
+++ b/qmake/generators/win32/msvc_vcproj.cpp
@@ -978,6 +978,7 @@ void VcprojGenerator::initConfiguration()
// Saner defaults
conf.compiler.UsePrecompiledHeader = pchNone;
conf.compiler.CompileAsWinRT = _False;
+ conf.linker.GenerateWindowsMetadata = _False;
}
}