Do not build an app bundle in debug mode.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-03-10 17:09:36 +02:00
parent 5bb90ab92d
commit 3d377bcbfd
2 changed files with 94 additions and 86 deletions

View File

@ -221,6 +221,7 @@ unix{
}
}
CONFIG(release, debug|release){
QMAKE_RPATHDIR += @executable_path/../Frameworks
# Path to resources in app bundle
@ -267,6 +268,7 @@ unix{
format
}
}
}
win32 {
for(DIR, INSTALL_OPENSSL) {
@ -461,7 +463,9 @@ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
}
}
CONFIG(release, debug|release){
macx{
# run macdeployqt to include all qt libraries in packet
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
}
}

View File

@ -207,6 +207,7 @@ unix{
}
}
CONFIG(release, debug|release){
QMAKE_RPATHDIR += @executable_path/../Frameworks
# Path to resources in app bundle
@ -268,6 +269,7 @@ unix{
icns_resources
}
}
}
# "make install" command for Windows.
# Depend on inno setup script and create installer in folder "package"
@ -607,7 +609,9 @@ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
}
}
CONFIG(release, debug|release){
macx{
# run macdeployqt to include all qt libraries in packet
QMAKE_POST_LINK += $$[QT_INSTALL_BINS]/macdeployqt $${OUT_PWD}/$${DESTDIR}/$${TARGET}.app
}
}