summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-09-24 15:44:37 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-01 11:10:44 +0200
commit7c3efdfb6ad72955543128a5a13e3f45ef3ee7af (patch)
tree32fa34f10d8d8b0e156a4217edc8aaf1063d88ba /qmake
parent57e1c9a7bd247e53b7a5f1e7745801e78a9e49fd (diff)
make it possible to disable debug information in vcxproj files
Task-number: QTBUG-32885 Change-Id: I53a2208935a1c52bc7ca757651df6a0125979787 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/generators/win32/msbuild_objectmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp
index ff7779f79f..cf69bfe987 100644
--- a/qmake/generators/win32/msbuild_objectmodel.cpp
+++ b/qmake/generators/win32/msbuild_objectmodel.cpp
@@ -912,9 +912,10 @@ static inline QString toString(debugOption option)
{
switch (option) {
case debugUnknown:
- case debugDisabled:
case debugLineInfoOnly:
break;
+ case debugDisabled:
+ return "None";
case debugOldStyleInfo:
return "OldStyle";
case debugEditAndContinue: