From 2984ef35c5d1277896b9f440ff8c226fdb98f9ac Mon Sep 17 00:00:00 2001 From: Andrew Knight Date: Tue, 7 Jan 2014 10:22:14 +0200 Subject: 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 --- qmake/generators/win32/msvc_vcproj.cpp | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3