Update transifex config file
[qBittorrent.git] / unixconf.pri
blob164b835ef93430fdf4a688bd25c29e744fe5d372
1 # Generated by the configure file
2 # Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make.
3 # If not there will be a WARNING again.
4 # The first path is used when the source is being build by packagers (pbuilder/sbuild/etc)
5 # The second path is used when you manually run the configure script in the root folder (eg when using qt creator)
6 exists($$OUT_PWD/../conf.pri) {
7     include($$OUT_PWD/../conf.pri)
8 } else {
9     include(conf.pri)
12 # COMPILATION SPECIFIC
13 !nogui:dbus: QT += dbus
15 QMAKE_CXXFLAGS += -Wall -Wextra -Wpedantic -Wformat-security
16 !haiku: QMAKE_LFLAGS_APP += -rdynamic
18 # Man page
19 nogui {
20     man.files = ../doc/qbittorrent-nox.1
21 } else {
22     man.files = ../doc/qbittorrent.1
25 man.path = $$MANPREFIX/man1
26 INSTALLS += man
28 DIST_PATH = ../dist/unix
30 # Systemd Service file
31 nogui:systemd {
32     systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
33     systemdService.path = $$PREFIX/lib/systemd/system/
34     INSTALLS += systemdService
37 # Menu Icon
38 !nogui {
39     menuicon.files = $$DIST_PATH/qbittorrent.desktop
40     menuicon.path = $$DATADIR/applications/
41     INSTALLS += menuicon
43     appdata.files = $$DIST_PATH/qbittorrent.appdata.xml
44     appdata.path = $$DATADIR/appdata/
45     INSTALLS += appdata
47     # Apps icons
48     icon16.files = $$DIST_PATH/menuicons/16x16/apps/qbittorrent.png
49     icon16.path = $$DATADIR/icons/hicolor/16x16/apps/
50     icon22.files = $$DIST_PATH/menuicons/22x22/apps/qbittorrent.png
51     icon22.path = $$DATADIR/icons/hicolor/22x22/apps/
52     icon24.files = $$DIST_PATH/menuicons/24x24/apps/qbittorrent.png
53     icon24.path = $$DATADIR/icons/hicolor/24x24/apps/
54     icon32.files = $$DIST_PATH/menuicons/32x32/apps/qbittorrent.png
55     icon32.path = $$DATADIR/icons/hicolor/32x32/apps/
56     icon36.files = $$DIST_PATH/menuicons/36x36/apps/qbittorrent.png
57     icon36.path = $$DATADIR/icons/hicolor/36x36/apps/
58     icon48.files = $$DIST_PATH/menuicons/48x48/apps/qbittorrent.png
59     icon48.path = $$DATADIR/icons/hicolor/48x48/apps/
60     icon64.files = $$DIST_PATH/menuicons/64x64/apps/qbittorrent.png
61     icon64.path = $$DATADIR/icons/hicolor/64x64/apps/
62     icon72.files = $$DIST_PATH/menuicons/72x72/apps/qbittorrent.png
63     icon72.path = $$DATADIR/icons/hicolor/72x72/apps/
64     icon96.files = $$DIST_PATH/menuicons/96x96/apps/qbittorrent.png
65     icon96.path = $$DATADIR/icons/hicolor/96x96/apps/
66     icon128.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
67     icon128.path = $$DATADIR/icons/hicolor/128x128/apps/
68     icon192.files = $$DIST_PATH/menuicons/192x192/apps/qbittorrent.png
69     icon192.path = $$DATADIR/icons/hicolor/192x192/apps/
70     # Status icons
71     statusIcon16.files = $$DIST_PATH/menuicons/16x16/status/qbittorrent-tray.png
72     statusIcon16.path = $$DATADIR/icons/hicolor/16x16/status/
73     statusIcon22.files = $$DIST_PATH/menuicons/22x22/status/qbittorrent-tray.png
74     statusIcon22.path = $$DATADIR/icons/hicolor/22x22/status/
75     statusIcon24.files = $$DIST_PATH/menuicons/24x24/status/qbittorrent-tray.png
76     statusIcon24.path = $$DATADIR/icons/hicolor/24x24/status/
77     statusIcon32.files = $$DIST_PATH/menuicons/32x32/status/qbittorrent-tray.png
78     statusIcon32.path = $$DATADIR/icons/hicolor/32x32/status/
79     statusIcon36.files = $$DIST_PATH/menuicons/36x36/status/qbittorrent-tray.png
80     statusIcon36.path = $$DATADIR/icons/hicolor/36x36/status/
81     statusIcon48.files = $$DIST_PATH/menuicons/48x48/status/qbittorrent-tray.png
82     statusIcon48.path = $$DATADIR/icons/hicolor/48x48/status/
83     statusIcon64.files = $$DIST_PATH/menuicons/64x64/status/qbittorrent-tray.png
84     statusIcon64.path = $$DATADIR/icons/hicolor/64x64/status/
85     statusIcon72.files = $$DIST_PATH/menuicons/72x72/status/qbittorrent-tray.png
86     statusIcon72.path = $$DATADIR/icons/hicolor/72x72/status/
87     statusIcon96.files = $$DIST_PATH/menuicons/96x96/status/qbittorrent-tray.png
88     statusIcon96.path = $$DATADIR/icons/hicolor/96x96/status/
89     statusIcon128.files = $$DIST_PATH/menuicons/128x128/status/qbittorrent-tray.png
90     statusIcon128.path = $$DATADIR/icons/hicolor/128x128/status/
91     statusIcon192.files = $$DIST_PATH/menuicons/192x192/status/qbittorrent-tray.png
92     statusIcon192.path = $$DATADIR/icons/hicolor/192x192/status/
94     statusIconScalable.files = $$PWD/src/icons/skin/qbittorrent-tray.svg \
95                                $$PWD/src/icons/skin/qbittorrent-tray-dark.svg \
96                                $$PWD/src/icons/skin/qbittorrent-tray-light.svg
97     statusIconScalable.path = $$DATADIR/icons/hicolor/scalable/status/
99     INSTALLS += \
100         icon16 \
101         icon22 \
102         icon24 \
103         icon32 \
104         icon36 \
105         icon48 \
106         icon64 \
107         icon72 \
108         icon96 \
109         icon128 \
110         icon192 \
111         statusIcon16 \
112         statusIcon22 \
113         statusIcon24 \
114         statusIcon32 \
115         statusIcon36 \
116         statusIcon48 \
117         statusIcon64 \
118         statusIcon72 \
119         statusIcon96 \
120         statusIcon128 \
121         statusIcon192 \
122         statusIconScalable
124     pixmap.files = $$DIST_PATH/menuicons/128x128/apps/qbittorrent.png
125     pixmap.path = $$DATADIR/pixmaps/
126     INSTALLS += pixmap
129 # INSTALL
130 target.path = $$PREFIX/bin/
131 INSTALLS += target