mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-29 23:22:07 +00:00
- Bump to rc4
- Clean up project file
This commit is contained in:
parent
eab6a194e1
commit
e1b629df88
19
src/src.pro
19
src/src.pro
@ -11,7 +11,7 @@ CONFIG += qt \
|
||||
thread
|
||||
|
||||
# Update this VERSION for each release
|
||||
DEFINES += VERSION=\\\"v2.1.0rc3\\\"
|
||||
DEFINES += VERSION=\\\"v2.1.0rc4\\\"
|
||||
DEFINES += VERSION_MAJOR=2
|
||||
DEFINES += VERSION_MINOR=1
|
||||
DEFINES += VERSION_BUGFIX=0
|
||||
@ -38,7 +38,8 @@ contains(DEBUG_MODE, 0) {
|
||||
include(../conf.pri)
|
||||
|
||||
# Target
|
||||
target.path = $$BINDIR
|
||||
#target.path = $$BINDIR
|
||||
target.path = $$PREFIX/bin/
|
||||
INSTALLS += target
|
||||
}
|
||||
|
||||
@ -117,6 +118,7 @@ win32:LIBS += -lssl32 \
|
||||
-ladvapi32 \
|
||||
-lwinmm
|
||||
|
||||
!contains(DEFINES, DISABLE_GUI) {
|
||||
win32 {
|
||||
DEFINES += WITH_GEOIP_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
|
||||
# should be embedded in qBittorrent executable
|
||||
contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
||||
@ -151,6 +148,13 @@ contains(DEFINES, WITH_GEOIP_EMBEDDED) {
|
||||
} 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 \
|
||||
@ -245,7 +249,6 @@ contains(DEFINES, DISABLE_GUI) {
|
||||
}
|
||||
|
||||
!contains(DEFINES, DISABLE_GUI) {
|
||||
message(adding forms)
|
||||
FORMS += ui/mainwindow.ui \
|
||||
ui/options.ui \
|
||||
ui/about.ui \
|
||||
|
Loading…
x
Reference in New Issue
Block a user