3 CONFIG
+= qt thread silent
8 # Platform specific configuration
9 win32
: include(../winconf
.pri
)
10 macx
: include(../macxconf
.pri
)
11 unix
:!macx
: include(../unixconf
.pri
)
16 TARGET
= qbittorrent
-nox
18 DEFINES
+= DISABLE_GUI
24 DEFINES
+= QBT_STATIC_QT
37 DEFINES
+= DISABLE_WEBUI
43 DEFINES
+= STACKTRACE_WIN_PROJECT_PATH
=$$PWD
44 DEFINES
+= STACKTRACE_WIN_MAKEFILE_PATH
=$$OUT_PWD
48 CONFIG(debug
, debug
|release
): message(Project
is built in DEBUG mode
.)
49 CONFIG(release
, debug
|release
): message(Project
is built in RELEASE mode
.)
51 # Disable debug output in release mode
52 CONFIG(release
, debug
|release
) {
53 message(Disabling debug output
.)
54 DEFINES
+= QT_NO_DEBUG_OUTPUT
58 include(../version
.pri
)
60 DEFINES
+= QT_NO_CAST_TO_ASCII
61 # Efficient construction for QString & QByteArray (Qt >= 4.8)
62 DEFINES
+= QT_USE_QSTRINGBUILDER
63 DEFINES
+= QT_STRICT_ITERATORS
68 include(base
/base
.pri
)
69 !nogui
: include(gui
/gui
.pri
)
70 !nowebui
: include(webui
/webui
.pri
)
73 QMAKE_RESOURCE_FLAGS
+= -compress
9 -threshold
5
77 searchengine
/searchengine
.qrc