From acc65ed3bee8cfc48ee0b1281805638cfb0d3c8a Mon Sep 17 00:00:00 2001 From: dismine Date: Wed, 24 Sep 2014 22:54:53 +0300 Subject: [PATCH] Fixed problem building on Windows 7. --HG-- branch : develop --- src/app/app.pro | 2 +- src/libs/qmuparser/qmuparser.pro | 3 +-- src/libs/vpropertyexplorer/vpropertyexplorer.pro | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/app.pro b/src/app/app.pro index 7e6b65a9e..cd2f3978d 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -146,7 +146,7 @@ CONFIG(debug, debug|release){ # Release DEFINES += QT_NO_DEBUG_OUTPUT - QMAKE_CXXFLAGS_RELEASE += -g + unix:QMAKE_CXXFLAGS_RELEASE += -g #local revision number for using in version HG_REV=$$system(hg parents --template '{rev}') diff --git a/src/libs/qmuparser/qmuparser.pro b/src/libs/qmuparser/qmuparser.pro index e392e091e..6f0ccd7a1 100644 --- a/src/libs/qmuparser/qmuparser.pro +++ b/src/libs/qmuparser/qmuparser.pro @@ -107,8 +107,7 @@ CONFIG(debug, debug|release){ # Release DEFINES += QT_NO_DEBUG_OUTPUT - QMAKE_CXXFLAGS_RELEASE += -g - + unix:QMAKE_CXXFLAGS_RELEASE += -g unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug && unix:QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)/$(TARGET) && unix:QMAKE_POST_LINK += objcopy --add-gnu-debuglink $(DESTDIR)/$(TARGET).debug $(DESTDIR)/$(TARGET) diff --git a/src/libs/vpropertyexplorer/vpropertyexplorer.pro b/src/libs/vpropertyexplorer/vpropertyexplorer.pro index 79d3e2364..2e88e76b0 100644 --- a/src/libs/vpropertyexplorer/vpropertyexplorer.pro +++ b/src/libs/vpropertyexplorer/vpropertyexplorer.pro @@ -150,8 +150,7 @@ CONFIG(debug, debug|release){ # Release DEFINES += QT_NO_DEBUG_OUTPUT - QMAKE_CXXFLAGS_RELEASE += -g - + unix:QMAKE_CXXFLAGS_RELEASE += -g unix:QMAKE_POST_LINK += objcopy --only-keep-debug $(DESTDIR)/$(TARGET) $(DESTDIR)/$(TARGET).debug && unix:QMAKE_POST_LINK += strip --strip-debug --strip-unneeded $(DESTDIR)/$(TARGET) && unix:QMAKE_POST_LINK += objcopy --add-gnu-debuglink $(DESTDIR)/$(TARGET).debug $(DESTDIR)/$(TARGET)