Do not build an app bundle in debug mode.
--HG-- branch : develop
This commit is contained in:
parent
5bb90ab92d
commit
3d377bcbfd
|
@ -221,6 +221,7 @@ unix{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CONFIG(release, debug|release){
|
||||||
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
||||||
|
|
||||||
# Path to resources in app bundle
|
# Path to resources in app bundle
|
||||||
|
@ -266,6 +267,7 @@ unix{
|
||||||
libraries \
|
libraries \
|
||||||
format
|
format
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
|
@ -461,7 +463,9 @@ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
macx{
|
CONFIG(release, debug|release){
|
||||||
|
macx{
|
||||||
# run macdeployqt to include all qt libraries in packet
|
# run macdeployqt to include all qt libraries in packet
|
||||||
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
|
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,6 +207,7 @@ unix{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CONFIG(release, debug|release){
|
||||||
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
QMAKE_RPATHDIR += @executable_path/../Frameworks
|
||||||
|
|
||||||
# Path to resources in app bundle
|
# Path to resources in app bundle
|
||||||
|
@ -267,6 +268,7 @@ unix{
|
||||||
xpdf \
|
xpdf \
|
||||||
icns_resources
|
icns_resources
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# "make install" command for Windows.
|
# "make install" command for Windows.
|
||||||
|
@ -607,7 +609,9 @@ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
macx{
|
CONFIG(release, debug|release){
|
||||||
|
macx{
|
||||||
# run macdeployqt to include all qt libraries in packet
|
# run macdeployqt to include all qt libraries in packet
|
||||||
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
|
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user