macxconf.pri 2.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
# Generated by the configure file
# Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make.
# If not there will be a WARNING again.
# 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)
} else {
    include(conf.pri)
}
11

12
LIBS += -framework Carbon -framework IOKit -framework AppKit
13 14 15

QT_LANG_PATH = ../dist/qt-translations
DIST_PATH = ../dist/mac
16 17

document_icon.path = Contents/Resources
18
document_icon.files = $$DIST_PATH/qBitTorrentDocument.icns
19
QMAKE_BUNDLE_DATA += document_icon
20 21

qt_conf.path = Contents/Resources
22
qt_conf.files = $$DIST_PATH/qt.conf
23 24
QMAKE_BUNDLE_DATA += qt_conf

25 26 27 28 29 30 31 32 33
qt_translations.path = Contents/translations
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 \
34 35
    $$QT_LANG_PATH/qt_eu.qm \
    $$QT_LANG_PATH/qt_fa.qm \
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
    $$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 \
51
    $$QT_LANG_PATH/qt_sl.qm \
52 53 54 55
    $$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 \
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
    $$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
72 73
QMAKE_BUNDLE_DATA += qt_translations

74 75
ICON = $$DIST_PATH/qbittorrent_mac.icns
QMAKE_INFO_PLIST = $$DIST_PATH/Info.plist