|
|
@ -2,15 +2,28 @@ |
|
|
|
TEMPLATE = app |
|
|
|
TEMPLATE = app |
|
|
|
CONFIG += qt thread |
|
|
|
CONFIG += qt thread |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Windows specific configuration |
|
|
|
|
|
|
|
win32 { |
|
|
|
|
|
|
|
include(../winconf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mac specific configuration |
|
|
|
|
|
|
|
macx { |
|
|
|
|
|
|
|
include(../macxconf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Unix specific configuration |
|
|
|
unix:!macx { |
|
|
|
unix:!macx { |
|
|
|
exists(../conf.pri) { |
|
|
|
include(../unixconf.pri) |
|
|
|
# generated by configure |
|
|
|
} |
|
|
|
include(../conf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
# eCS(OS/2) specific configuration |
|
|
|
|
|
|
|
os2 { |
|
|
|
|
|
|
|
include(../os2conf.pri) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
nox { |
|
|
|
nox { |
|
|
|
QT = core |
|
|
|
QT -= gui |
|
|
|
TARGET = qbittorrent-nox |
|
|
|
TARGET = qbittorrent-nox |
|
|
|
DEFINES += DISABLE_GUI |
|
|
|
DEFINES += DISABLE_GUI |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -35,26 +48,6 @@ CONFIG(release, debug|release):message(Project is built in RELEASE mode.) |
|
|
|
# VERSION DEFINES |
|
|
|
# VERSION DEFINES |
|
|
|
include(../version.pri) |
|
|
|
include(../version.pri) |
|
|
|
|
|
|
|
|
|
|
|
# Windows specific configuration |
|
|
|
|
|
|
|
win32 { |
|
|
|
|
|
|
|
include(../winconf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Mac specific configuration |
|
|
|
|
|
|
|
macx { |
|
|
|
|
|
|
|
include(../macxconf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Unix specific configuration |
|
|
|
|
|
|
|
unix:!macx { |
|
|
|
|
|
|
|
include(../unixconf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# eCS(OS/2) specific configuration |
|
|
|
|
|
|
|
os2 { |
|
|
|
|
|
|
|
include(../os2conf.pri) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEFINES += QT_NO_CAST_TO_ASCII |
|
|
|
DEFINES += QT_NO_CAST_TO_ASCII |
|
|
|
# Fast concatenation (Qt >= 4.6) |
|
|
|
# Fast concatenation (Qt >= 4.6) |
|
|
|
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS |
|
|
|
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS |
|
|
|