Some work about adaptive color scheme for Web UI (PR #19901) http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
1.5 KiB

# Global
TEMPLATE = app
CONFIG += qt thread silent
# C++11 support
CONFIG += c++11
7 years ago
# Platform specific configuration
win32: include(../winconf.pri)
macx: include(../macxconf.pri)
unix:!macx: include(../unixconf.pri)
7 years ago
QT += network xml
nogui {
7 years ago
TARGET = qbittorrent-nox
QT -= gui
DEFINES += DISABLE_GUI
15 years ago
} else {
7 years ago
TARGET = qbittorrent
QT += xml svg widgets
7 years ago
CONFIG(static) {
DEFINES += QBT_STATIC_QT
QTPLUGIN += qico
}
win32 {
QT += winextras
}
7 years ago
macx {
QT += macextras
LIBS += -lobjc
}
}
7 years ago
nowebui {
DEFINES += DISABLE_WEBUI
}
stacktrace {
DEFINES += STACKTRACE
win32 {
DEFINES += STACKTRACE_WIN_PROJECT_PATH=$$PWD
DEFINES += STACKTRACE_WIN_MAKEFILE_PATH=$$OUT_PWD
}
}
CONFIG(debug, debug|release): message(Project is built in DEBUG mode.)
CONFIG(release, debug|release): message(Project is built in RELEASE mode.)
# Disable debug output in release mode
CONFIG(release, debug|release) {
message(Disabling debug output.)
DEFINES += QT_NO_DEBUG_OUTPUT
}
# VERSION DEFINES
include(../version.pri)
DEFINES += QT_NO_CAST_TO_ASCII
# Efficient construction for QString & QByteArray (Qt >= 4.8)
DEFINES += QT_USE_QSTRINGBUILDER
DEFINES += QT_STRICT_ITERATORS
INCLUDEPATH += $$PWD
include(app/app.pri)
include(base/base.pri)
!nogui: include(gui/gui.pri)
!nowebui: include(webui/webui.pri)
# Resource files
QMAKE_RESOURCE_FLAGS += -compress 9 -threshold 5
RESOURCES += \
icons/icons.qrc \
lang/lang.qrc \
searchengine/searchengine.qrc
DESTDIR = .