From 1d598d7772f74b9bfad5f7e1c94f5306cc4dfc2c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 19 Jan 2010 22:40:23 +0000 Subject: [PATCH] - Nox version should not require libqtxml --- INSTALL | 4 ++-- src/src.pro | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 6949c8726..7ee28efad 100644 --- a/INSTALL +++ b/INSTALL @@ -38,9 +38,9 @@ qBittorrent - A BitTorrent client in C++ / Qt4 will install and execute qBittorrent hopefully without any problems. Dependencies: - - Qt >= 4.4.0 (libqt-devel, libqtcore, libqtnetwork, libqtxml) + - Qt >= 4.4.0 (libqt-devel, libqtcore, libqtnetwork) - - libtorrent-rasterbar by Arvid Norberg (>= 0.14.0 REQUIRED, >= v0.15.0 ADVISED) + - libtorrent-rasterbar by Arvid Norberg (>= 0.14.4 REQUIRED, >= v0.15.0 ADVISED) -> http://www.libtorrent.net Be careful: another library (the one used by rTorrent) uses a similar name. diff --git a/src/src.pro b/src/src.pro index dda1cc57a..343b0e331 100644 --- a/src/src.pro +++ b/src/src.pro @@ -105,8 +105,10 @@ contains(DEFINES, DISABLE_GUI) { unix:QMAKE_LFLAGS_SHAPP += -rdynamic CONFIG += link_pkgconfig PKGCONFIG += "libtorrent-rasterbar" -QT += network \ - xml +QT += network +!contains(DEFINES, DISABLE_GUI) { + QT += xml +} DEFINES += QT_NO_CAST_TO_ASCII # Windows