for DEBUG only activate qDebug()
(cherry picked from commit bbcb992b6c8089b2251c82da4154d63e4b83b7f5)
This commit is contained in:
parent
c23785411f
commit
23a008db62
16
ponyprog.pro
16
ponyprog.pro
@ -214,6 +214,18 @@ win32:LIBS += -L$$PWD/windows/
|
||||
RESOURCES += SrcPony/ponyprog.qrc
|
||||
|
||||
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
QMAKE_CXXFLAGS_RELEASE += -DQT_NO_DEBUG_OUTPUT
|
||||
CONFIG(debug, debug|release) {
|
||||
# debug configuration
|
||||
# QMAKE_CXXFLAGS_DEBUG += ...
|
||||
} else {
|
||||
# release configuration
|
||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
QMAKE_CXXFLAGS_RELEASE += -O3
|
||||
QMAKE_CXXFLAGS_RELEASE += -fno-exceptions -fno-rtti
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
|
||||
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user