Skip to content

Commit 7a7d351

Browse files
author
Christophe Dumez
committed
Fix compilation in release mode
1 parent b3f8902 commit 7a7d351

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/src.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CONFIG(debug, debug|release):message(Project is built in DEBUG mode.)
4040
CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
4141

4242
# Disable debug output in release mode
43-
!debug {
43+
CONFIG(release, debug|release) {
4444
message(Disabling debug output.)
4545
DEFINES += QT_NO_DEBUG_OUTPUT
4646
}

winconf.pri

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ DEFINES += _WIN32_WINNT=0x0500
2727
DEFINES += __USE_W32_SOCKETS
2828
DEFINES += WITH_SHIPPED_GEOIP_H
2929

30-
debug {
30+
CONFIG(debug, debug|release) {
3131
DEFINES += TORRENT_DEBUG
3232
} else {
3333
DEFINES += NDEBUG
3434
}
3535

3636
RC_FILE = qbittorrent.rc
3737

38-
debug {
38+
CONFIG(debug, debug|release) {
3939
LIBS += libtorrentd.lib \
4040
libboost_system-vc90-mt-gd.lib \
4141
libboost_filesystem-vc90-mt-gd.lib \

0 commit comments

Comments
 (0)