mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 16:37:21 -06:00
- Rename GUI-less qBittorrent executable to "qbittorrent-nox", with its own man page
This commit is contained in:
11
src/src.pro
11
src/src.pro
@@ -7,7 +7,6 @@ DEBUG_MODE = 1
|
||||
|
||||
# Global
|
||||
TEMPLATE = app
|
||||
TARGET = qbittorrent
|
||||
CONFIG += qt \
|
||||
thread
|
||||
|
||||
@@ -44,7 +43,11 @@ contains(DEBUG_MODE, 0) {
|
||||
}
|
||||
|
||||
# Man page
|
||||
contains(DEFINES, DISABLE_GUI) {
|
||||
man.files = ../doc/qbittorrent-nox.1
|
||||
} else {
|
||||
man.files = ../doc/qbittorrent.1
|
||||
}
|
||||
man.path = $$PREFIX/share/man/man1/
|
||||
INSTALLS += man
|
||||
|
||||
@@ -87,6 +90,12 @@ contains(DEBUG_MODE, 0) {
|
||||
icon192
|
||||
}
|
||||
|
||||
contains(DEFINES, DISABLE_GUI) {
|
||||
TARGET = qbittorrent-nox
|
||||
} else {
|
||||
TARGET = qbittorrent
|
||||
}
|
||||
|
||||
# QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
||||
# QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
||||
unix:QMAKE_LFLAGS_SHAPP += -rdynamic
|
||||
|
||||
Reference in New Issue
Block a user