mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
BUGFIX: Added --enable-debug parameter to the configure script
This commit is contained in:
59
src/src.pro
59
src/src.pro
@@ -2,39 +2,6 @@
|
||||
TEMPLATE = app
|
||||
CONFIG += qt thread
|
||||
|
||||
unix:!macx {
|
||||
exists(../conf.pri) {
|
||||
# generated by configure
|
||||
include(../conf.pri)
|
||||
}
|
||||
}
|
||||
|
||||
nox {
|
||||
QT = core
|
||||
TARGET = qbittorrent-nox
|
||||
DEFINES += DISABLE_GUI
|
||||
} else {
|
||||
QT += xml
|
||||
TARGET = qbittorrent
|
||||
}
|
||||
QT += network
|
||||
|
||||
# Vars
|
||||
LANG_PATH = lang
|
||||
ICONS_PATH = Icons
|
||||
|
||||
# use "CONFIG -= debug" to disable debug
|
||||
CONFIG -= debug
|
||||
CONFIG += release
|
||||
|
||||
# Disable debug output in release mode
|
||||
!debug {
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
|
||||
# VERSION DEFINES
|
||||
include(../version.pri)
|
||||
|
||||
# Windows specific configuration
|
||||
win32 {
|
||||
include(../winconf.pri)
|
||||
@@ -55,6 +22,32 @@ os2 {
|
||||
include(../os2conf.pri)
|
||||
}
|
||||
|
||||
nox {
|
||||
QT -= gui
|
||||
TARGET = qbittorrent-nox
|
||||
DEFINES += DISABLE_GUI
|
||||
} else {
|
||||
QT += xml
|
||||
TARGET = qbittorrent
|
||||
}
|
||||
QT += network
|
||||
|
||||
# Vars
|
||||
LANG_PATH = lang
|
||||
ICONS_PATH = Icons
|
||||
|
||||
CONFIG(debug, debug|release):message(Project is built in DEBUG mode.)
|
||||
CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
|
||||
|
||||
# Disable debug output in release mode
|
||||
!debug {
|
||||
message(Disabling debug output.)
|
||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
}
|
||||
|
||||
# VERSION DEFINES
|
||||
include(../version.pri)
|
||||
|
||||
DEFINES += QT_NO_CAST_TO_ASCII
|
||||
# Fast concatenation (Qt >= 4.6)
|
||||
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
|
||||
|
||||
Reference in New Issue
Block a user