Replace CheckBox with Arrow in transferlistfilterswidget.cpp
[qBittorrent.git] / unixconf.pri
blobfa059c0df0cc2e21d25136b179d7c74550b8aa99
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)
6 else {
7     include(conf.pri)
10 # COMPILATION SPECIFIC
11 !nogui:dbus: QT += dbus
13 QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
14 !haiku: QMAKE_LFLAGS_APP += -rdynamic
16 # Man page
17 nogui {
18     man.files = ../doc/qbittorrent-nox.1
20 else {
21     man.files = ../doc/qbittorrent.1
24 man.path = $$MANPREFIX/man1
25 INSTALLS += man
27 DIST_PATH = ../dist/unix
29 # Systemd Service file
30 nogui:systemd {
31     systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
32     systemdService.path = $$PREFIX/lib/systemd/system/
33     INSTALLS += systemdService
36 # Menu Icon
37 !nogui {
38     menuicon.files = $$DIST_PATH/org.qbittorrent.qBittorrent.desktop
39     menuicon.path = $$DATADIR/applications/
40     INSTALLS += menuicon
42     appdata.files = $$DIST_PATH/org.qbittorrent.qBittorrent.appdata.xml
43     appdata.path = $$DATADIR/metainfo/
44     INSTALLS += appdata
46     # Apps icons
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/
69     # Status icons
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/
98     INSTALLS += \
99         icon16 \
100         icon22 \
101         icon24 \
102         icon32 \
103         icon36 \
104         icon48 \
105         icon64 \
106         icon72 \
107         icon96 \
108         icon128 \
109         icon192 \
110         statusIcon16 \
111         statusIcon22 \
112         statusIcon24 \
113         statusIcon32 \
114         statusIcon36 \
115         statusIcon48 \
116         statusIcon64 \
117         statusIcon72 \
118         statusIcon96 \
119         statusIcon128 \
120         statusIcon192 \
121         statusIconScalable
123     pixmap.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
124     pixmap.path = $$DATADIR/pixmaps/
125     INSTALLS += pixmap
128 # INSTALL
129 target.path = $$PREFIX/bin/
130 INSTALLS += target