mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Cleanup src.pro
This commit is contained in:
parent
39b56ac598
commit
ee9caa4305
27
src/src.pro
27
src/src.pro
@ -6,26 +6,22 @@ CONFIG += qt thread silent
|
|||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
|
DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
|
|
||||||
# Windows specific configuration
|
# Platform specific configuration
|
||||||
win32: include(../winconf.pri)
|
win32: include(../winconf.pri)
|
||||||
|
|
||||||
# Mac specific configuration
|
|
||||||
macx: include(../macxconf.pri)
|
macx: include(../macxconf.pri)
|
||||||
|
|
||||||
# Unix specific configuration
|
|
||||||
unix:!macx: include(../unixconf.pri)
|
unix:!macx: include(../unixconf.pri)
|
||||||
|
|
||||||
# eCS(OS/2) specific configuration
|
|
||||||
os2: include(../os2conf.pri)
|
os2: include(../os2conf.pri)
|
||||||
|
|
||||||
|
QT += network xml
|
||||||
|
|
||||||
nogui {
|
nogui {
|
||||||
|
TARGET = qbittorrent-nox
|
||||||
QT -= gui
|
QT -= gui
|
||||||
DEFINES += DISABLE_GUI
|
DEFINES += DISABLE_GUI
|
||||||
TARGET = qbittorrent-nox
|
|
||||||
} else {
|
} else {
|
||||||
macx: QT += macextras
|
TARGET = qbittorrent
|
||||||
macx: LIBS += -lobjc
|
|
||||||
QT += xml concurrent svg widgets
|
QT += xml concurrent svg widgets
|
||||||
|
|
||||||
CONFIG(static) {
|
CONFIG(static) {
|
||||||
DEFINES += QBT_STATIC_QT
|
DEFINES += QBT_STATIC_QT
|
||||||
QTPLUGIN += qico
|
QTPLUGIN += qico
|
||||||
@ -33,16 +29,19 @@ nogui {
|
|||||||
win32 {
|
win32 {
|
||||||
QT += winextras
|
QT += winextras
|
||||||
}
|
}
|
||||||
TARGET = qbittorrent
|
macx {
|
||||||
|
QT += macextras
|
||||||
|
LIBS += -lobjc
|
||||||
|
}
|
||||||
|
}
|
||||||
|
nowebui {
|
||||||
|
DEFINES += DISABLE_WEBUI
|
||||||
}
|
}
|
||||||
nowebui: DEFINES += DISABLE_WEBUI
|
|
||||||
strace_win {
|
strace_win {
|
||||||
DEFINES += STACKTRACE_WIN
|
DEFINES += STACKTRACE_WIN
|
||||||
DEFINES += STACKTRACE_WIN_PROJECT_PATH=$$PWD
|
DEFINES += STACKTRACE_WIN_PROJECT_PATH=$$PWD
|
||||||
DEFINES += STACKTRACE_WIN_MAKEFILE_PATH=$$OUT_PWD
|
DEFINES += STACKTRACE_WIN_MAKEFILE_PATH=$$OUT_PWD
|
||||||
}
|
}
|
||||||
QT += network xml
|
|
||||||
|
|
||||||
|
|
||||||
CONFIG(debug, debug|release): message(Project is built in DEBUG mode.)
|
CONFIG(debug, debug|release): message(Project is built in DEBUG mode.)
|
||||||
CONFIG(release, debug|release): message(Project is built in RELEASE mode.)
|
CONFIG(release, debug|release): message(Project is built in RELEASE mode.)
|
||||||
|
Loading…
Reference in New Issue
Block a user