mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
- Rename GUI-less qBittorrent executable to "qbittorrent-nox", with its own man page
This commit is contained in:
parent
cac6f7428c
commit
118ea6093d
3 changed files with 56 additions and 4 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue