summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2011-10-14 15:18:31 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2011-10-14 15:20:41 (GMT)
commit2482191bfe660963825b404735811320a49f2b3f (patch)
tree8b6198890213a843c905b48e516ae224d575f492 /qmake
parent94d0bed992aad8e8a6edda129d4a75f9b4ffa163 (diff)
downloadQt-2482191bfe660963825b404735811320a49f2b3f.zip
Qt-2482191bfe660963825b404735811320a49f2b3f.tar.gz
Qt-2482191bfe660963825b404735811320a49f2b3f.tar.bz2
qmake: fix writing of incremental linker option for vcxproj files
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/win32/msbuild_objectmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp
index 0b201b8..bf84e60 100644
--- a/qmake/generators/win32/msbuild_objectmodel.cpp
+++ b/qmake/generators/win32/msbuild_objectmodel.cpp
@@ -653,7 +653,7 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool)
<< valueTagT(tool.SingleProjects.at(i).Configuration.linker.IgnoreImportLibrary);
}
- if ( tool.SingleProjects.at(i).Configuration.linker.LinkIncremental != unset) {
+ if ( tool.SingleProjects.at(i).Configuration.linker.LinkIncremental != linkIncrementalDefault) {
const triState ts = (tool.SingleProjects.at(i).Configuration.linker.LinkIncremental == linkIncrementalYes ? _True : _False);
xml << tag("LinkIncremental")
<< attrTag("Condition", QString("'$(Configuration)|$(Platform)'=='%1'").arg(tool.SingleProjects.at(i).Configuration.Name))