2014-12-13 21:07:10 +03:00
|
|
|
# The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
|
|
|
|
# The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
|
|
|
|
exists($$OUT_PWD/../conf.pri) {
|
|
|
|
include($$OUT_PWD/../conf.pri)
|
2018-12-21 13:31:49 +03:00
|
|
|
}
|
|
|
|
else {
|
2014-12-13 21:07:10 +03:00
|
|
|
include(conf.pri)
|
|
|
|
}
|
2010-11-20 20:21:40 +03:00
|
|
|
|
2017-08-11 08:37:06 +03:00
|
|
|
LIBS += -framework Carbon -framework IOKit -framework AppKit
|
2015-08-26 20:44:42 +03:00
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
QT_LANG_PATH = ../dist/qt-translations
|
|
|
|
DIST_PATH = ../dist/mac
|
|
|
|
|
2010-11-20 20:21:40 +03:00
|
|
|
document_icon.path = Contents/Resources
|
2015-01-18 15:13:06 +03:00
|
|
|
document_icon.files = $$DIST_PATH/qBitTorrentDocument.icns
|
2010-11-20 20:21:40 +03:00
|
|
|
QMAKE_BUNDLE_DATA += document_icon
|
2012-09-16 11:36:24 +04:00
|
|
|
|
|
|
|
qt_conf.path = Contents/Resources
|
2015-01-18 15:13:06 +03:00
|
|
|
qt_conf.files = $$DIST_PATH/qt.conf
|
2012-09-16 11:36:24 +04:00
|
|
|
QMAKE_BUNDLE_DATA += qt_conf
|
|
|
|
|
2015-01-30 01:57:08 +03:00
|
|
|
qt_translations.path = Contents/translations
|
2015-01-18 15:13:06 +03:00
|
|
|
qt_translations.files = \
|
|
|
|
$$QT_LANG_PATH/qt_ar.qm \
|
|
|
|
$$QT_LANG_PATH/qt_bg.qm \
|
|
|
|
$$QT_LANG_PATH/qt_ca.qm \
|
|
|
|
$$QT_LANG_PATH/qt_cs.qm \
|
|
|
|
$$QT_LANG_PATH/qt_da.qm \
|
|
|
|
$$QT_LANG_PATH/qt_de.qm \
|
|
|
|
$$QT_LANG_PATH/qt_es.qm \
|
2016-07-20 01:32:39 +03:00
|
|
|
$$QT_LANG_PATH/qt_eu.qm \
|
|
|
|
$$QT_LANG_PATH/qt_fa.qm \
|
2015-01-18 15:13:06 +03:00
|
|
|
$$QT_LANG_PATH/qt_fi.qm \
|
|
|
|
$$QT_LANG_PATH/qt_fr.qm \
|
|
|
|
$$QT_LANG_PATH/qt_gl.qm \
|
|
|
|
$$QT_LANG_PATH/qt_he.qm \
|
|
|
|
$$QT_LANG_PATH/qt_hu.qm \
|
|
|
|
$$QT_LANG_PATH/qt_it.qm \
|
|
|
|
$$QT_LANG_PATH/qt_ja.qm \
|
|
|
|
$$QT_LANG_PATH/qt_ko.qm \
|
|
|
|
$$QT_LANG_PATH/qt_lt.qm \
|
|
|
|
$$QT_LANG_PATH/qt_nl.qm \
|
|
|
|
$$QT_LANG_PATH/qt_pl.qm \
|
|
|
|
$$QT_LANG_PATH/qt_pt.qm \
|
|
|
|
$$QT_LANG_PATH/qt_pt_BR.qm \
|
|
|
|
$$QT_LANG_PATH/qt_ru.qm \
|
|
|
|
$$QT_LANG_PATH/qt_sk.qm \
|
2016-07-20 01:32:39 +03:00
|
|
|
$$QT_LANG_PATH/qt_sl.qm \
|
2015-01-18 15:13:06 +03:00
|
|
|
$$QT_LANG_PATH/qt_sv.qm \
|
|
|
|
$$QT_LANG_PATH/qt_tr.qm \
|
|
|
|
$$QT_LANG_PATH/qt_uk.qm \
|
|
|
|
$$QT_LANG_PATH/qt_zh_CN.qm \
|
2016-07-20 01:32:39 +03:00
|
|
|
$$QT_LANG_PATH/qt_zh_TW.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_ca.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_cs.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_de.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_fi.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_fr.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_he.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_hu.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_it.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_ja.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_ko.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_lv.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_pl.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_ru.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_sk.qm \
|
|
|
|
$$QT_LANG_PATH/qtbase_uk.qm
|
2012-09-16 11:36:24 +04:00
|
|
|
QMAKE_BUNDLE_DATA += qt_translations
|
|
|
|
|
2015-01-18 15:13:06 +03:00
|
|
|
ICON = $$DIST_PATH/qbittorrent_mac.icns
|
|
|
|
QMAKE_INFO_PLIST = $$DIST_PATH/Info.plist
|