Browse Source

Don't require GUI libs for qt4 nox build. Closes #4404.

adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
abcdd105e3
  1. 3
      src/src.pro

3
src/src.pro

@ -25,7 +25,7 @@ nogui {
TARGET = qbittorrent-nox TARGET = qbittorrent-nox
} else { } else {
QT += xml QT += xml
greaterThan(QT_MAJOR_VERSION, 4): QT += concurrent greaterThan(QT_MAJOR_VERSION, 4): QT += concurrent widgets
CONFIG(static) { CONFIG(static) {
DEFINES += QBT_STATIC_QT DEFINES += QBT_STATIC_QT
QTPLUGIN += qico QTPLUGIN += qico
@ -35,7 +35,6 @@ nogui {
nowebui: DEFINES += DISABLE_WEBUI nowebui: DEFINES += DISABLE_WEBUI
strace_win: DEFINES += STACKTRACE_WIN strace_win: DEFINES += STACKTRACE_WIN
QT += network xml QT += network xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
# Vars # Vars
LANG_PATH = lang LANG_PATH = lang

Loading…
Cancel
Save