1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

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

This commit is contained in:
sledgehammer999 2016-01-07 01:41:40 +02:00
parent e07562beae
commit abcdd105e3

View File

@ -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