|
|
@ -11,7 +11,7 @@ CONFIG += qt \ |
|
|
|
thread |
|
|
|
thread |
|
|
|
|
|
|
|
|
|
|
|
# Update this VERSION for each release |
|
|
|
# Update this VERSION for each release |
|
|
|
DEFINES += VERSION=\\\"v2.1.0rc3\\\" |
|
|
|
DEFINES += VERSION=\\\"v2.1.0rc4\\\" |
|
|
|
DEFINES += VERSION_MAJOR=2 |
|
|
|
DEFINES += VERSION_MAJOR=2 |
|
|
|
DEFINES += VERSION_MINOR=1 |
|
|
|
DEFINES += VERSION_MINOR=1 |
|
|
|
DEFINES += VERSION_BUGFIX=0 |
|
|
|
DEFINES += VERSION_BUGFIX=0 |
|
|
@ -38,7 +38,8 @@ contains(DEBUG_MODE, 0) { |
|
|
|
include(../conf.pri) |
|
|
|
include(../conf.pri) |
|
|
|
|
|
|
|
|
|
|
|
# Target |
|
|
|
# Target |
|
|
|
target.path = $$BINDIR |
|
|
|
#target.path = $$BINDIR |
|
|
|
|
|
|
|
target.path = $$PREFIX/bin/ |
|
|
|
INSTALLS += target |
|
|
|
INSTALLS += target |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -117,6 +118,7 @@ win32:LIBS += -lssl32 \ |
|
|
|
-ladvapi32 \ |
|
|
|
-ladvapi32 \ |
|
|
|
-lwinmm |
|
|
|
-lwinmm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!contains(DEFINES, DISABLE_GUI) { |
|
|
|
win32 { |
|
|
|
win32 { |
|
|
|
DEFINES += WITH_GEOIP_EMBEDDED |
|
|
|
DEFINES += WITH_GEOIP_EMBEDDED |
|
|
|
message("On Windows, GeoIP database must be embedded.") |
|
|
|
message("On Windows, GeoIP database must be embedded.") |
|
|
@ -133,11 +135,6 @@ unix:!macx { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
RESOURCES = icons.qrc \ |
|
|
|
|
|
|
|
lang.qrc \ |
|
|
|
|
|
|
|
search.qrc \ |
|
|
|
|
|
|
|
webui.qrc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Add GeoIP resource file if the GeoIP database |
|
|
|
# Add GeoIP resource file if the GeoIP database |
|
|
|
# should be embedded in qBittorrent executable |
|
|
|
# should be embedded in qBittorrent executable |
|
|
|
contains(DEFINES, WITH_GEOIP_EMBEDDED) { |
|
|
|
contains(DEFINES, WITH_GEOIP_EMBEDDED) { |
|
|
@ -151,6 +148,13 @@ contains(DEFINES, WITH_GEOIP_EMBEDDED) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
message("GeoIP database will not be embedded in qBittorrent executable.") |
|
|
|
message("GeoIP database will not be embedded in qBittorrent executable.") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Resource files |
|
|
|
|
|
|
|
RESOURCES = icons.qrc \ |
|
|
|
|
|
|
|
lang.qrc \ |
|
|
|
|
|
|
|
search.qrc \ |
|
|
|
|
|
|
|
webui.qrc |
|
|
|
|
|
|
|
|
|
|
|
# Translations |
|
|
|
# Translations |
|
|
|
TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \ |
|
|
|
TRANSLATIONS = $$LANG_PATH/qbittorrent_fr.ts \ |
|
|
@ -245,7 +249,6 @@ contains(DEFINES, DISABLE_GUI) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
!contains(DEFINES, DISABLE_GUI) { |
|
|
|
!contains(DEFINES, DISABLE_GUI) { |
|
|
|
message(adding forms) |
|
|
|
|
|
|
|
FORMS += ui/mainwindow.ui \ |
|
|
|
FORMS += ui/mainwindow.ui \ |
|
|
|
ui/options.ui \ |
|
|
|
ui/options.ui \ |
|
|
|
ui/about.ui \ |
|
|
|
ui/about.ui \ |
|
|
|