Fixed problem building on Windows 7.

--HG--
branch : develop
This commit is contained in:
dismine 2014-09-24 22:54:53 +03:00
parent 8570a797e6
commit acc65ed3be
3 changed files with 3 additions and 5 deletions

View File

@ -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}')

View File

@ -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)

View File

@ -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)