Removing the confusion caused by moving GeoIP code/.dat to a different directory

This commit is contained in:
LazyBui
2015-05-13 00:15:10 -05:00
parent e2ac4ebf9d
commit be62c34e46
3 changed files with 4 additions and 4 deletions

View File

@@ -8,11 +8,11 @@ SOURCES += $$PWD/geoipmanager.cpp
# should be embedded in qBittorrent executable
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
exists("GeoIP.dat") {
message("GeoIP.dat was found in src/geoip/.")
message("GeoIP.dat was found in src/gui/geoip/.")
RESOURCES += $$PWD/geoip.qrc
} else {
DEFINES -= WITH_GEOIP_EMBEDDED
error("GeoIP.dat was not found in src/geoip/ folder, please follow instructions in src/geoip/README.")
error("GeoIP.dat was not found in src/gui/geoip/ folder, please follow instructions in src/gui/geoip/README.")
}
} else {
message("GeoIP database will not be embedded in qBittorrent executable.")