diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-06-02 09:46:41 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-06-02 09:57:13 +0200 |
commit | e89721bce16d6486e47b5b88d24467face5a11aa (patch) | |
tree | 268bad4a296f3dd02c83d1735fd7b76be38623d8 /no_app_bundle.pri | |
parent | d5b02dd37312ee9a9682caff9fae925c04323e8f (diff) |
Cleanup to support Qt5 only.
Change-Id: Ib8f61229ce2f07e52c22a15e10dc817aca860ead
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'no_app_bundle.pri')
-rw-r--r-- | no_app_bundle.pri | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/no_app_bundle.pri b/no_app_bundle.pri index 631317193..d60b04b03 100644 --- a/no_app_bundle.pri +++ b/no_app_bundle.pri @@ -4,25 +4,3 @@ NO_APP_BUNDLE_PRI_INCLUDED = 1 equals(TEMPLATE, app):CONFIG -= app_bundle - -isEqual(QT_MAJOR_VERSION, 4):static:contains(QT, gui) { - isEmpty(DESTDIR) { - MY_DEST_DIR=$$OUT_PWD - } else { - MY_DEST_DIR=$$DESTDIR - } - - !exists($$(MY_DEST_DIR)/qt_menu.nib) { - # try to get the qt_menu.nib path from the environment variable - isEmpty(QT_MENU_NIB_DIR): QT_MENU_NIB_DIR = $$(QT_MENU_NIB_DIR) - - # everything which has not the IFW_APP_PATH as target can try to copy it from there - exists($$IFW_APP_PATH/qt_menu.nib):QT_MENU_NIB_DIR=$$IFW_APP_PATH/qt_menu.nib - - isEmpty(QT_MENU_NIB_DIR) { - warning(Please call qmake with QT_MENU_NIB_DIR=<YOUR_QT_SRC_DIR>/src/gui/mac/qt_menu.nib) - } else { - system($$QMAKE_COPY -r $$quote($$QT_MENU_NIB_DIR) $$quote($$MY_DEST_DIR)) - } - } -} |