mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 04:11:16 +00:00
- Enabled debug output when Qt 4.2.0 is detected (To avoid this bug in Qt: http://www.trolltech.com/developer/task-tracker/index_html?method=entry&id=133139)
This commit is contained in:
parent
2106dc5144
commit
48663205b7
@ -4,7 +4,7 @@ ICONS_PATH = Icons
|
|||||||
TRAYICON_CPP = trayicon
|
TRAYICON_CPP = trayicon
|
||||||
|
|
||||||
#Set the following variable to 1 to enable debug
|
#Set the following variable to 1 to enable debug
|
||||||
DEBUG_MODE = 1
|
DEBUG_MODE = 0
|
||||||
|
|
||||||
# Global
|
# Global
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
@ -30,7 +30,11 @@ PKGCONFIG += libtorrent
|
|||||||
QT += xml network
|
QT += xml network
|
||||||
|
|
||||||
contains(DEBUG_MODE, 0){
|
contains(DEBUG_MODE, 0){
|
||||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
eval(QT_VERSION = 4.2.0) {
|
||||||
|
message(Qt 4.2.0 detected : enabling debug output because of a bug in this version of Qt)
|
||||||
|
}else{
|
||||||
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||||
|
}
|
||||||
CONFIG += release
|
CONFIG += release
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user