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 # COMPILATION SPECIFIC
11 !nogui:dbus: QT += dbus
13 QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
14 !haiku: QMAKE_LFLAGS_APP += -rdynamic
18 man.files = ../doc/qbittorrent-nox.1
21 man.files = ../doc/qbittorrent.1
24 man.path = $$MANPREFIX/man1
27 DIST_PATH = ../dist/unix
29 # Systemd Service file
31 systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
32 systemdService.path = $$PREFIX/lib/systemd/system/
33 INSTALLS += systemdService
38 menuicon.files = $$DIST_PATH/org.qbittorrent.qBittorrent.desktop
39 menuicon.path = $$DATADIR/applications/
42 appdata.files = $$DIST_PATH/org.qbittorrent.qBittorrent.appdata.xml
43 appdata.path = $$DATADIR/metainfo/
47 icon16.files = $$DIST_PATH/menuicons/16x16/apps/qbittorrent.png
48 icon16.path = $$DATADIR/icons/hicolor/16x16/apps/
49 icon22.files = $$DIST_PATH/menuicons/22x22/apps/qbittorrent.png
50 icon22.path = $$DATADIR/icons/hicolor/22x22/apps/
51 icon24.files = $$DIST_PATH/menuicons/24x24/apps/qbittorrent.png
52 icon24.path = $$DATADIR/icons/hicolor/24x24/apps/
53 icon32.files = $$DIST_PATH/menuicons/32x32/apps/qbittorrent.png
54 icon32.path = $$DATADIR/icons/hicolor/32x32/apps/
55 icon36.files = $$DIST_PATH/menuicons/36x36/apps/qbittorrent.png
56 icon36.path = $$DATADIR/icons/hicolor/36x36/apps/
57 icon48.files = $$DIST_PATH/menuicons/48x48/apps/qbittorrent.png
58 icon48.path = $$DATADIR/icons/hicolor/48x48/apps/
59 icon64.files = $$DIST_PATH/menuicons/64x64/apps/qbittorrent.png
60 icon64.path = $$DATADIR/icons/hicolor/64x64/apps/
61 icon72.files = $$DIST_PATH/menuicons/72x72/apps/qbittorrent.png
62 icon72.path = $$DATADIR/icons/hicolor/72x72/apps/
63 icon96.files = $$DIST_PATH/menuicons/96x96/apps/qbittorrent.png
64 icon96.path = $$DATADIR/icons/hicolor/96x96/apps/
65 icon128.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
66 icon128.path = $$DATADIR/icons/hicolor/128x128/apps/
67 icon192.files = $$DIST_PATH/menuicons/192x192/apps/qbittorrent.png
68 icon192.path = $$DATADIR/icons/hicolor/192x192/apps/
70 statusIcon16.files = $$DIST_PATH/menuicons/16x16/status/qbittorrent-tray.png
71 statusIcon16.path = $$DATADIR/icons/hicolor/16x16/status/
72 statusIcon22.files = $$DIST_PATH/menuicons/22x22/status/qbittorrent-tray.png
73 statusIcon22.path = $$DATADIR/icons/hicolor/22x22/status/
74 statusIcon24.files = $$DIST_PATH/menuicons/24x24/status/qbittorrent-tray.png
75 statusIcon24.path = $$DATADIR/icons/hicolor/24x24/status/
76 statusIcon32.files = $$DIST_PATH/menuicons/32x32/status/qbittorrent-tray.png
77 statusIcon32.path = $$DATADIR/icons/hicolor/32x32/status/
78 statusIcon36.files = $$DIST_PATH/menuicons/36x36/status/qbittorrent-tray.png
79 statusIcon36.path = $$DATADIR/icons/hicolor/36x36/status/
80 statusIcon48.files = $$DIST_PATH/menuicons/48x48/status/qbittorrent-tray.png
81 statusIcon48.path = $$DATADIR/icons/hicolor/48x48/status/
82 statusIcon64.files = $$DIST_PATH/menuicons/64x64/status/qbittorrent-tray.png
83 statusIcon64.path = $$DATADIR/icons/hicolor/64x64/status/
84 statusIcon72.files = $$DIST_PATH/menuicons/72x72/status/qbittorrent-tray.png
85 statusIcon72.path = $$DATADIR/icons/hicolor/72x72/status/
86 statusIcon96.files = $$DIST_PATH/menuicons/96x96/status/qbittorrent-tray.png
87 statusIcon96.path = $$DATADIR/icons/hicolor/96x96/status/
88 statusIcon128.files = $$DIST_PATH/menuicons/128x128/status/qbittorrent-tray.png
89 statusIcon128.path = $$DATADIR/icons/hicolor/128x128/status/
90 statusIcon192.files = $$DIST_PATH/menuicons/192x192/status/qbittorrent-tray.png
91 statusIcon192.path = $$DATADIR/icons/hicolor/192x192/status/
93 statusIconScalable.files = $$PWD/src/icons/skin/qbittorrent-tray.svg \
94 $$PWD/src/icons/skin/qbittorrent-tray-dark.svg \
95 $$PWD/src/icons/skin/qbittorrent-tray-light.svg
96 statusIconScalable.path = $$DATADIR/icons/hicolor/scalable/status/
123 pixmap.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
124 pixmap.path = $$DATADIR/pixmaps/
129 target.path = $$PREFIX/bin/