summaryrefslogtreecommitdiff
path: root/qmake/generators/win32/msvc_objectmodel.cpp
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2009-12-16 13:14:15 +0100
committerAndy Shaw <qt-info@nokia.com>2009-12-16 13:14:15 +0100
commite1706eab16a4cd7f64665249717cc293d3a1ce93 (patch)
tree6c48ac6c93c26110223cb35f65c2e4869ef0995d /qmake/generators/win32/msvc_objectmodel.cpp
parentd0d5d9d8e6d7815a0c97af28a7d231bfb9e83c19 (diff)
downloadqt4-tools-e1706eab16a4cd7f64665249717cc293d3a1ce93.tar.gz
Fixes: Ensure QMAKE_LFLAGS+=/MACHINE:X64 works for vcproj files
RevBy: Marius SO Details: It worked fine for Makefiles since no checking is done of the flags. Now its fixed so it works for vcproj files too making it easier for people to build 64bit targets in Visual Studio.
Diffstat (limited to 'qmake/generators/win32/msvc_objectmodel.cpp')
-rw-r--r--qmake/generators/win32/msvc_objectmodel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp
index 7dc456ee63..593a075ff7 100644
--- a/qmake/generators/win32/msvc_objectmodel.cpp
+++ b/qmake/generators/win32/msvc_objectmodel.cpp
@@ -1394,8 +1394,10 @@ bool VCLinkerTool::parseOption(const char* option)
case 0x0005bb6: // X86
TargetMachine = machineX86;
break;
- // so we put the others in AdditionalOptions...
case 0x0005b94: // X64
+ TargetMachine = machineX64;
+ break;
+ // so we put the others in AdditionalOptions...
case 0x0046063: // AM33
case 0x000466d: // ARM
case 0x0004795: // CEE