mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 03:12:21 +08:00
Improve Mac packaging.
We now ship qt translations.
This commit is contained in:
parent
6f693bc36e
commit
b2b959d5e3
44
macxconf.pri
44
macxconf.pri
@ -16,16 +16,50 @@ LIBS += -lssl -lcrypto
|
||||
# Boost system lib
|
||||
LIBS += -lboost_system-mt
|
||||
# Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
|
||||
LIBS += -lboost_filesystem-mt
|
||||
#LIBS += -lboost_filesystem-mt
|
||||
# Carbon
|
||||
LIBS += -framework Carbon -framework IOKit
|
||||
|
||||
document_icon.path = Contents/Resources
|
||||
document_icon.files = Icons/qBitTorrentDocument.icns
|
||||
|
||||
document_icon.files = mac/qBitTorrentDocument.icns
|
||||
QMAKE_BUNDLE_DATA += document_icon
|
||||
ICON = Icons/qbittorrent_mac.icns
|
||||
QMAKE_INFO_PLIST = Info.plist
|
||||
|
||||
qt_conf.path = Contents/Resources
|
||||
qt_conf.files = mac/qt.conf
|
||||
QMAKE_BUNDLE_DATA += qt_conf
|
||||
|
||||
qt_translations.path = Contents/MacOS/translations
|
||||
qt_translations.files = qt-translations/qt_ar.qm \
|
||||
qt-translations/qt_bg.qm \
|
||||
qt-translations/qt_ca.qm \
|
||||
qt-translations/qt_cs.qm \
|
||||
qt-translations/qt_da.qm \
|
||||
qt-translations/qt_de.qm \
|
||||
qt-translations/qt_es.qm \
|
||||
qt-translations/qt_fi.qm \
|
||||
qt-translations/qt_fr.qm \
|
||||
qt-translations/qt_gl.qm \
|
||||
qt-translations/qt_he.qm \
|
||||
qt-translations/qt_hu.qm \
|
||||
qt-translations/qt_it.qm \
|
||||
qt-translations/qt_ja.qm \
|
||||
qt-translations/qt_ko.qm \
|
||||
qt-translations/qt_lt.qm \
|
||||
qt-translations/qt_nl.qm \
|
||||
qt-translations/qt_pl.qm \
|
||||
qt-translations/qt_pt.qm \
|
||||
qt-translations/qt_pt_BR.qm \
|
||||
qt-translations/qt_ru.qm \
|
||||
qt-translations/qt_sk.qm \
|
||||
qt-translations/qt_sv.qm \
|
||||
qt-translations/qt_tr.qm \
|
||||
qt-translations/qt_uk.qm \
|
||||
qt-translations/qt_zh_CN.qm \
|
||||
qt-translations/qt_zh_TW.qm
|
||||
QMAKE_BUNDLE_DATA += qt_translations
|
||||
|
||||
ICON = mac/qbittorrent_mac.icns
|
||||
QMAKE_INFO_PLIST = mac/Info.plist
|
||||
|
||||
DEFINES += WITH_GEOIP_EMBEDDED
|
||||
message("On Mac OS X, GeoIP database must be embedded.")
|
||||
|
4
src/mac/qt.conf
Normal file
4
src/mac/qt.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[Paths]
|
||||
Prefix = MacOS
|
||||
Translations = translations
|
||||
Plugins = PlugIns
|
BIN
src/qt-translations/qt_ar.qm
Normal file
BIN
src/qt-translations/qt_ar.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_bg.qm
Normal file
BIN
src/qt-translations/qt_bg.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_ca.qm
Normal file
BIN
src/qt-translations/qt_ca.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_cs.qm
Normal file
BIN
src/qt-translations/qt_cs.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_da.qm
Normal file
BIN
src/qt-translations/qt_da.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_de.qm
Normal file
BIN
src/qt-translations/qt_de.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_es.qm
Normal file
BIN
src/qt-translations/qt_es.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_fi.qm
Normal file
BIN
src/qt-translations/qt_fi.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_fr.qm
Normal file
BIN
src/qt-translations/qt_fr.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_gl.qm
Normal file
BIN
src/qt-translations/qt_gl.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_he.qm
Normal file
BIN
src/qt-translations/qt_he.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_hu.qm
Normal file
BIN
src/qt-translations/qt_hu.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_it.qm
Normal file
BIN
src/qt-translations/qt_it.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_ja.qm
Normal file
BIN
src/qt-translations/qt_ja.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_ko.qm
Normal file
BIN
src/qt-translations/qt_ko.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_lt.qm
Normal file
BIN
src/qt-translations/qt_lt.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_nl.qm
Normal file
BIN
src/qt-translations/qt_nl.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_pl.qm
Normal file
BIN
src/qt-translations/qt_pl.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_pt.qm
Normal file
BIN
src/qt-translations/qt_pt.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_pt_BR.qm
Normal file
BIN
src/qt-translations/qt_pt_BR.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_ru.qm
Normal file
BIN
src/qt-translations/qt_ru.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_sk.qm
Normal file
BIN
src/qt-translations/qt_sk.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_sv.qm
Normal file
BIN
src/qt-translations/qt_sv.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_tr.qm
Normal file
BIN
src/qt-translations/qt_tr.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_uk.qm
Normal file
BIN
src/qt-translations/qt_uk.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_zh_CN.qm
Normal file
BIN
src/qt-translations/qt_zh_CN.qm
Normal file
Binary file not shown.
BIN
src/qt-translations/qt_zh_TW.qm
Normal file
BIN
src/qt-translations/qt_zh_TW.qm
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user