Fix Geoip database embedding

Fix Geoip path issue on Win32
This commit is contained in:
Christophe Dumez
2010-05-30 15:19:40 +00:00
parent 4eb8be372e
commit cfc4e7c8f6
4 changed files with 22 additions and 14 deletions

View File

@@ -3,7 +3,7 @@ LANG_PATH = lang
ICONS_PATH = Icons
# Set the following variable to 1 to enable debug
DEBUG_MODE = 0
DEBUG_MODE = 1
# Global
TEMPLATE = app
@@ -177,6 +177,12 @@ os2:LIBS += -ltorrent-rasterbar \
}
unix:!macx:contains(DEFINES, WITH_GEOIP_EMBEDDED):message("You chose to embed GeoIP database in qBittorrent executable.")
# Resource files
RESOURCES = icons.qrc \
lang.qrc \
search.qrc \
webui.qrc
# Add GeoIP resource file if the GeoIP database
# should be embedded in qBittorrent executable
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
@@ -192,12 +198,6 @@ os2:LIBS += -ltorrent-rasterbar \
else:message("GeoIP database will not be embedded in qBittorrent executable.")
}
# Resource files
RESOURCES = icons.qrc \
lang.qrc \
search.qrc \
webui.qrc
# Translations
TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \
$$LANG_PATH/qbittorrent_zh.ts \