mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-15 01:00:17 +00:00
Merge pull request #4586 from glassez/geoip_nogui
Allow GeoIP in NoGUI builds
This commit is contained in:
commit
b79b5a01cc
@ -62,10 +62,6 @@ using namespace BitTorrent;
|
|||||||
#include <libtorrent/extensions/smart_ban.hpp>
|
#include <libtorrent/extensions/smart_ban.hpp>
|
||||||
//#include <libtorrent/extensions/metadata_transfer.hpp>
|
//#include <libtorrent/extensions/metadata_transfer.hpp>
|
||||||
|
|
||||||
#ifndef DISABLE_COUNTRIES_RESOLUTION
|
|
||||||
#include "base/net/geoipmanager.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "base/utils/misc.h"
|
#include "base/utils/misc.h"
|
||||||
#include "base/utils/fs.h"
|
#include "base/utils/fs.h"
|
||||||
#include "base/utils/string.h"
|
#include "base/utils/string.h"
|
||||||
|
@ -21,7 +21,7 @@ os2: include(../os2conf.pri)
|
|||||||
|
|
||||||
nogui {
|
nogui {
|
||||||
QT -= gui
|
QT -= gui
|
||||||
DEFINES += DISABLE_GUI DISABLE_COUNTRIES_RESOLUTION
|
DEFINES += DISABLE_GUI
|
||||||
TARGET = qbittorrent-nox
|
TARGET = qbittorrent-nox
|
||||||
} else {
|
} else {
|
||||||
QT += xml
|
QT += xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user