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
17 man.files = ../doc/qbittorrent-nox.1
20 man.files = ../doc/qbittorrent.1
23 man.path = $$MANPREFIX/man1
26 DIST_PATH = ../dist/unix
28 # Systemd Service file
30 systemdService.files = $$DIST_PATH/systemd/qbittorrent-nox@.service
31 systemdService.path = $$PREFIX/lib/systemd/system
32 INSTALLS += systemdService
37 desktopEntry.files = $$DIST_PATH/org.qbittorrent.qBittorrent.desktop
38 desktopEntry.path = $$DATADIR/applications
39 INSTALLS += desktopEntry
41 appdata.files = $$DIST_PATH/org.qbittorrent.qBittorrent.appdata.xml
42 appdata.path = $$DATADIR/metainfo
45 menuicons.files = $$DIST_PATH/menuicons/*
46 menuicons.path = $$DATADIR/icons/hicolor
47 statusIconScalable.files = $$PWD/src/icons/qbittorrent-tray.svg \
48 $$PWD/src/icons/qbittorrent-tray-dark.svg \
49 $$PWD/src/icons/qbittorrent-tray-light.svg
50 statusIconScalable.path = $$DATADIR/icons/hicolor/scalable/status
57 target.path = $$PREFIX/bin