mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-11 01:44:58 -06:00
Better Mac integration
This commit is contained in:
283
src/src.pro
283
src/src.pro
@@ -200,9 +200,9 @@ os2:LIBS += -ltorrent-rasterbar \
|
||||
|
||||
# Resource files
|
||||
RESOURCES = icons.qrc \
|
||||
lang.qrc \
|
||||
search.qrc \
|
||||
webui.qrc
|
||||
lang.qrc \
|
||||
search.qrc \
|
||||
webui.qrc
|
||||
|
||||
# Add GeoIP resource file if the GeoIP database
|
||||
# should be embedded in qBittorrent executable
|
||||
@@ -221,145 +221,158 @@ else:message("GeoIP database will not be embedded in qBittorrent executable.")
|
||||
|
||||
# Translations
|
||||
TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \
|
||||
$$LANG_PATH/qbittorrent_zh.ts \
|
||||
$$LANG_PATH/qbittorrent_zh_TW.ts \
|
||||
$$LANG_PATH/qbittorrent_en.ts \
|
||||
$$LANG_PATH/qbittorrent_ca.ts \
|
||||
$$LANG_PATH/qbittorrent_es.ts \
|
||||
$$LANG_PATH/qbittorrent_pl.ts \
|
||||
$$LANG_PATH/qbittorrent_ko.ts \
|
||||
$$LANG_PATH/qbittorrent_de.ts \
|
||||
$$LANG_PATH/qbittorrent_nl.ts \
|
||||
$$LANG_PATH/qbittorrent_tr.ts \
|
||||
$$LANG_PATH/qbittorrent_sv.ts \
|
||||
$$LANG_PATH/qbittorrent_el.ts \
|
||||
$$LANG_PATH/qbittorrent_ru.ts \
|
||||
$$LANG_PATH/qbittorrent_uk.ts \
|
||||
$$LANG_PATH/qbittorrent_bg.ts \
|
||||
$$LANG_PATH/qbittorrent_it.ts \
|
||||
$$LANG_PATH/qbittorrent_sk.ts \
|
||||
$$LANG_PATH/qbittorrent_ro.ts \
|
||||
$$LANG_PATH/qbittorrent_pt.ts \
|
||||
$$LANG_PATH/qbittorrent_nb.ts \
|
||||
$$LANG_PATH/qbittorrent_fi.ts \
|
||||
$$LANG_PATH/qbittorrent_da.ts \
|
||||
$$LANG_PATH/qbittorrent_ja.ts \
|
||||
$$LANG_PATH/qbittorrent_hu.ts \
|
||||
$$LANG_PATH/qbittorrent_pt_BR.ts \
|
||||
$$LANG_PATH/qbittorrent_cs.ts \
|
||||
$$LANG_PATH/qbittorrent_sr.ts \
|
||||
$$LANG_PATH/qbittorrent_ar.ts \
|
||||
$$LANG_PATH/qbittorrent_hr.ts
|
||||
$$LANG_PATH/qbittorrent_zh.ts \
|
||||
$$LANG_PATH/qbittorrent_zh_TW.ts \
|
||||
$$LANG_PATH/qbittorrent_en.ts \
|
||||
$$LANG_PATH/qbittorrent_ca.ts \
|
||||
$$LANG_PATH/qbittorrent_es.ts \
|
||||
$$LANG_PATH/qbittorrent_pl.ts \
|
||||
$$LANG_PATH/qbittorrent_ko.ts \
|
||||
$$LANG_PATH/qbittorrent_de.ts \
|
||||
$$LANG_PATH/qbittorrent_nl.ts \
|
||||
$$LANG_PATH/qbittorrent_tr.ts \
|
||||
$$LANG_PATH/qbittorrent_sv.ts \
|
||||
$$LANG_PATH/qbittorrent_el.ts \
|
||||
$$LANG_PATH/qbittorrent_ru.ts \
|
||||
$$LANG_PATH/qbittorrent_uk.ts \
|
||||
$$LANG_PATH/qbittorrent_bg.ts \
|
||||
$$LANG_PATH/qbittorrent_it.ts \
|
||||
$$LANG_PATH/qbittorrent_sk.ts \
|
||||
$$LANG_PATH/qbittorrent_ro.ts \
|
||||
$$LANG_PATH/qbittorrent_pt.ts \
|
||||
$$LANG_PATH/qbittorrent_nb.ts \
|
||||
$$LANG_PATH/qbittorrent_fi.ts \
|
||||
$$LANG_PATH/qbittorrent_da.ts \
|
||||
$$LANG_PATH/qbittorrent_ja.ts \
|
||||
$$LANG_PATH/qbittorrent_hu.ts \
|
||||
$$LANG_PATH/qbittorrent_pt_BR.ts \
|
||||
$$LANG_PATH/qbittorrent_cs.ts \
|
||||
$$LANG_PATH/qbittorrent_sr.ts \
|
||||
$$LANG_PATH/qbittorrent_ar.ts \
|
||||
$$LANG_PATH/qbittorrent_hr.ts
|
||||
|
||||
# Source code
|
||||
HEADERS += misc.h \
|
||||
downloadthread.h \
|
||||
bittorrent.h \
|
||||
qtorrenthandle.h \
|
||||
httpserver.h \
|
||||
httpconnection.h \
|
||||
httprequestparser.h \
|
||||
httpresponsegenerator.h \
|
||||
json.h \
|
||||
eventmanager.h \
|
||||
filterparserthread.h \
|
||||
stacktrace.h \
|
||||
torrentpersistentdata.h \
|
||||
filesystemwatcher.h \
|
||||
preferences.h \
|
||||
bandwidthscheduler.h \
|
||||
scannedfoldersmodel.h
|
||||
downloadthread.h \
|
||||
bittorrent.h \
|
||||
qtorrenthandle.h \
|
||||
httpserver.h \
|
||||
httpconnection.h \
|
||||
httprequestparser.h \
|
||||
httpresponsegenerator.h \
|
||||
json.h \
|
||||
eventmanager.h \
|
||||
filterparserthread.h \
|
||||
stacktrace.h \
|
||||
torrentpersistentdata.h \
|
||||
filesystemwatcher.h \
|
||||
preferences.h \
|
||||
bandwidthscheduler.h \
|
||||
scannedfoldersmodel.h
|
||||
|
||||
contains(DEFINES, DISABLE_GUI):HEADERS += headlessloader.h
|
||||
else:HEADERS += GUI.h \
|
||||
feedList.h \
|
||||
supportedengines.h \
|
||||
transferlistwidget.h \
|
||||
transferlistdelegate.h \
|
||||
transferlistfilterswidget.h \
|
||||
propertieswidget.h \
|
||||
torrentfilesmodel.h \
|
||||
geoip.h \
|
||||
peeraddition.h \
|
||||
deletionconfirmationdlg.h \
|
||||
statusbar.h \
|
||||
trackerlist.h \
|
||||
downloadedpiecesbar.h \
|
||||
peerlistwidget.h \
|
||||
peerlistdelegate.h \
|
||||
reverseresolution.h \
|
||||
feeddownloader.h \
|
||||
trackersadditiondlg.h \
|
||||
searchtab.h \
|
||||
console_imp.h \
|
||||
ico.h \
|
||||
engineselectdlg.h \
|
||||
pluginsource.h \
|
||||
searchEngine.h \
|
||||
rss.h \
|
||||
rss_imp.h \
|
||||
speedlimitdlg.h \
|
||||
options_imp.h \
|
||||
about_imp.h \
|
||||
createtorrent_imp.h \
|
||||
searchlistdelegate.h \
|
||||
proplistdelegate.h \
|
||||
previewselect.h \
|
||||
previewlistdelegate.h \
|
||||
downloadfromurldlg.h \
|
||||
torrentadditiondlg.h \
|
||||
trackerlogin.h \
|
||||
pieceavailabilitybar.h \
|
||||
advancedsettings.h \
|
||||
cookiesdlg.h
|
||||
contains(DEFINES, DISABLE_GUI) {
|
||||
HEADERS += headlessloader.h
|
||||
} else {
|
||||
HEADERS += GUI.h \
|
||||
feedList.h \
|
||||
supportedengines.h \
|
||||
transferlistwidget.h \
|
||||
transferlistdelegate.h \
|
||||
transferlistfilterswidget.h \
|
||||
propertieswidget.h \
|
||||
torrentfilesmodel.h \
|
||||
geoip.h \
|
||||
peeraddition.h \
|
||||
deletionconfirmationdlg.h \
|
||||
statusbar.h \
|
||||
trackerlist.h \
|
||||
downloadedpiecesbar.h \
|
||||
peerlistwidget.h \
|
||||
peerlistdelegate.h \
|
||||
reverseresolution.h \
|
||||
feeddownloader.h \
|
||||
trackersadditiondlg.h \
|
||||
searchtab.h \
|
||||
console_imp.h \
|
||||
ico.h \
|
||||
engineselectdlg.h \
|
||||
pluginsource.h \
|
||||
searchEngine.h \
|
||||
rss.h \
|
||||
rss_imp.h \
|
||||
speedlimitdlg.h \
|
||||
options_imp.h \
|
||||
about_imp.h \
|
||||
createtorrent_imp.h \
|
||||
searchlistdelegate.h \
|
||||
proplistdelegate.h \
|
||||
previewselect.h \
|
||||
previewlistdelegate.h \
|
||||
downloadfromurldlg.h \
|
||||
torrentadditiondlg.h \
|
||||
trackerlogin.h \
|
||||
pieceavailabilitybar.h \
|
||||
advancedsettings.h \
|
||||
cookiesdlg.h
|
||||
macx {
|
||||
HEADERS += qmacapplication.h
|
||||
}
|
||||
}
|
||||
|
||||
!contains(DEFINES, DISABLE_GUI):FORMS += ui/mainwindow.ui \
|
||||
ui/options.ui \
|
||||
ui/about.ui \
|
||||
ui/createtorrent.ui \
|
||||
ui/preview.ui \
|
||||
ui/login.ui \
|
||||
ui/downloadfromurldlg.ui \
|
||||
ui/torrentadditiondlg.ui \
|
||||
ui/search.ui \
|
||||
ui/rss.ui \
|
||||
ui/bandwidth_limit.ui \
|
||||
ui/engineselect.ui \
|
||||
ui/pluginsource.ui \
|
||||
ui/trackersadditiondlg.ui \
|
||||
ui/console.ui \
|
||||
ui/feeddownloader.ui \
|
||||
ui/propertieswidget.ui \
|
||||
ui/peer.ui \
|
||||
ui/confirmdeletiondlg.ui \
|
||||
ui/cookiesdlg.ui
|
||||
!contains(DEFINES, DISABLE_GUI) {
|
||||
FORMS += ui/mainwindow.ui \
|
||||
ui/options.ui \
|
||||
ui/about.ui \
|
||||
ui/createtorrent.ui \
|
||||
ui/preview.ui \
|
||||
ui/login.ui \
|
||||
ui/downloadfromurldlg.ui \
|
||||
ui/torrentadditiondlg.ui \
|
||||
ui/search.ui \
|
||||
ui/rss.ui \
|
||||
ui/bandwidth_limit.ui \
|
||||
ui/engineselect.ui \
|
||||
ui/pluginsource.ui \
|
||||
ui/trackersadditiondlg.ui \
|
||||
ui/console.ui \
|
||||
ui/feeddownloader.ui \
|
||||
ui/propertieswidget.ui \
|
||||
ui/peer.ui \
|
||||
ui/confirmdeletiondlg.ui \
|
||||
ui/cookiesdlg.ui
|
||||
}
|
||||
|
||||
SOURCES += main.cpp \
|
||||
bittorrent.cpp \
|
||||
qtorrenthandle.cpp \
|
||||
downloadthread.cpp \
|
||||
httpserver.cpp \
|
||||
httpconnection.cpp \
|
||||
httprequestparser.cpp \
|
||||
httpresponsegenerator.cpp \
|
||||
eventmanager.cpp \
|
||||
scannedfoldersmodel.cpp \
|
||||
misc.cpp
|
||||
bittorrent.cpp \
|
||||
qtorrenthandle.cpp \
|
||||
downloadthread.cpp \
|
||||
httpserver.cpp \
|
||||
httpconnection.cpp \
|
||||
httprequestparser.cpp \
|
||||
httpresponsegenerator.cpp \
|
||||
eventmanager.cpp \
|
||||
scannedfoldersmodel.cpp \
|
||||
misc.cpp
|
||||
|
||||
!contains(DEFINES, DISABLE_GUI):SOURCES += GUI.cpp \
|
||||
options_imp.cpp \
|
||||
createtorrent_imp.cpp \
|
||||
searchengine.cpp \
|
||||
rss_imp.cpp \
|
||||
engineselectdlg.cpp \
|
||||
searchtab.cpp \
|
||||
ico.cpp \
|
||||
rss.cpp \
|
||||
transferlistwidget.cpp \
|
||||
propertieswidget.cpp \
|
||||
peerlistwidget.cpp \
|
||||
cookiesdlg.cpp \
|
||||
trackerlist.cpp
|
||||
!contains(DEFINES, DISABLE_GUI) {
|
||||
SOURCES += GUI.cpp \
|
||||
options_imp.cpp \
|
||||
createtorrent_imp.cpp \
|
||||
searchengine.cpp \
|
||||
rss_imp.cpp \
|
||||
engineselectdlg.cpp \
|
||||
searchtab.cpp \
|
||||
ico.cpp \
|
||||
rss.cpp \
|
||||
transferlistwidget.cpp \
|
||||
propertieswidget.cpp \
|
||||
peerlistwidget.cpp \
|
||||
cookiesdlg.cpp \
|
||||
trackerlist.cpp
|
||||
|
||||
macx {
|
||||
HEADERS += qmacapplication.cpp
|
||||
}
|
||||
}
|
||||
|
||||
DESTDIR = .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user