1 # The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
2 # The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
3 exists($$OUT_PWD/../conf.pri) {
4 include($$OUT_PWD/../conf.pri)
10 LIBS += -framework Carbon -framework IOKit -framework AppKit
12 QT_LANG_PATH = ../dist/qt-translations
13 DIST_PATH = ../dist/mac
15 document_icon.path = Contents/Resources
16 document_icon.files = $$DIST_PATH/qBitTorrentDocument.icns
17 QMAKE_BUNDLE_DATA += document_icon
19 qt_conf.path = Contents/Resources
20 qt_conf.files = $$DIST_PATH/qt.conf
21 QMAKE_BUNDLE_DATA += qt_conf
23 qt_translations.path = Contents/translations
24 qt_translations.files = \
25 $$QT_LANG_PATH/qt_ar.qm \
26 $$QT_LANG_PATH/qt_bg.qm \
27 $$QT_LANG_PATH/qt_ca.qm \
28 $$QT_LANG_PATH/qt_cs.qm \
29 $$QT_LANG_PATH/qt_da.qm \
30 $$QT_LANG_PATH/qt_de.qm \
31 $$QT_LANG_PATH/qt_es.qm \
32 $$QT_LANG_PATH/qt_eu.qm \
33 $$QT_LANG_PATH/qt_fa.qm \
34 $$QT_LANG_PATH/qt_fi.qm \
35 $$QT_LANG_PATH/qt_fr.qm \
36 $$QT_LANG_PATH/qt_gl.qm \
37 $$QT_LANG_PATH/qt_he.qm \
38 $$QT_LANG_PATH/qt_hu.qm \
39 $$QT_LANG_PATH/qt_it.qm \
40 $$QT_LANG_PATH/qt_ja.qm \
41 $$QT_LANG_PATH/qt_ko.qm \
42 $$QT_LANG_PATH/qt_lt.qm \
43 $$QT_LANG_PATH/qt_nl.qm \
44 $$QT_LANG_PATH/qt_pl.qm \
45 $$QT_LANG_PATH/qt_pt.qm \
46 $$QT_LANG_PATH/qt_pt_BR.qm \
47 $$QT_LANG_PATH/qt_ru.qm \
48 $$QT_LANG_PATH/qt_sk.qm \
49 $$QT_LANG_PATH/qt_sl.qm \
50 $$QT_LANG_PATH/qt_sv.qm \
51 $$QT_LANG_PATH/qt_tr.qm \
52 $$QT_LANG_PATH/qt_uk.qm \
53 $$QT_LANG_PATH/qt_zh_CN.qm \
54 $$QT_LANG_PATH/qt_zh_TW.qm \
55 $$QT_LANG_PATH/qtbase_ca.qm \
56 $$QT_LANG_PATH/qtbase_cs.qm \
57 $$QT_LANG_PATH/qtbase_de.qm \
58 $$QT_LANG_PATH/qtbase_fi.qm \
59 $$QT_LANG_PATH/qtbase_fr.qm \
60 $$QT_LANG_PATH/qtbase_he.qm \
61 $$QT_LANG_PATH/qtbase_hu.qm \
62 $$QT_LANG_PATH/qtbase_it.qm \
63 $$QT_LANG_PATH/qtbase_ja.qm \
64 $$QT_LANG_PATH/qtbase_ko.qm \
65 $$QT_LANG_PATH/qtbase_lv.qm \
66 $$QT_LANG_PATH/qtbase_pl.qm \
67 $$QT_LANG_PATH/qtbase_ru.qm \
68 $$QT_LANG_PATH/qtbase_sk.qm \
69 $$QT_LANG_PATH/qtbase_uk.qm
70 QMAKE_BUNDLE_DATA += qt_translations
72 ICON = $$DIST_PATH/qbittorrent_mac.icns
73 QMAKE_INFO_PLIST = $$DIST_PATH/Info.plist