|
|
@ -3,7 +3,7 @@ LANG_PATH = lang |
|
|
|
ICONS_PATH = Icons |
|
|
|
ICONS_PATH = Icons |
|
|
|
|
|
|
|
|
|
|
|
# Set the following variable to 1 to enable debug |
|
|
|
# Set the following variable to 1 to enable debug |
|
|
|
DEBUG_MODE = 0 |
|
|
|
DEBUG_MODE = 1 |
|
|
|
|
|
|
|
|
|
|
|
# Global |
|
|
|
# Global |
|
|
|
TEMPLATE = app |
|
|
|
TEMPLATE = app |
|
|
@ -14,9 +14,9 @@ CONFIG += qt \ |
|
|
|
network |
|
|
|
network |
|
|
|
|
|
|
|
|
|
|
|
# Update this VERSION for each release |
|
|
|
# Update this VERSION for each release |
|
|
|
DEFINES += VERSION=\\\"v1.4.0\\\" |
|
|
|
DEFINES += VERSION=\\\"v1.5.0alpha\\\" |
|
|
|
DEFINES += VERSION_MAJOR=1 |
|
|
|
DEFINES += VERSION_MAJOR=1 |
|
|
|
DEFINES += VERSION_MINOR=4 |
|
|
|
DEFINES += VERSION_MINOR=5 |
|
|
|
DEFINES += VERSION_BUGFIX=0 |
|
|
|
DEFINES += VERSION_BUGFIX=0 |
|
|
|
!mac:QMAKE_LFLAGS += -Wl,--as-needed |
|
|
|
!mac:QMAKE_LFLAGS += -Wl,--as-needed |
|
|
|
contains(DEBUG_MODE, 1) { |
|
|
|
contains(DEBUG_MODE, 1) { |
|
|
@ -85,23 +85,26 @@ contains(DEBUG_MODE, 0) { |
|
|
|
icon128 \ |
|
|
|
icon128 \ |
|
|
|
icon192 |
|
|
|
icon192 |
|
|
|
} |
|
|
|
} |
|
|
|
#QMAKE_CXXFLAGS_RELEASE += -fwrapv |
|
|
|
|
|
|
|
#QMAKE_CXXFLAGS_DEBUG += -fwrapv |
|
|
|
|
|
|
|
unix:QMAKE_LFLAGS_SHAPP += -rdynamic |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# QMAKE_CXXFLAGS_RELEASE += -fwrapv |
|
|
|
|
|
|
|
# QMAKE_CXXFLAGS_DEBUG += -fwrapv |
|
|
|
|
|
|
|
unix:QMAKE_LFLAGS_SHAPP += -rdynamic |
|
|
|
CONFIG += link_pkgconfig |
|
|
|
CONFIG += link_pkgconfig |
|
|
|
PKGCONFIG += "libtorrent-rasterbar libcurl" |
|
|
|
PKGCONFIG += "libtorrent-rasterbar libcurl" |
|
|
|
|
|
|
|
QT += network \ |
|
|
|
QT += network xml |
|
|
|
xml |
|
|
|
DEFINES += QT_NO_CAST_TO_ASCII |
|
|
|
DEFINES += QT_NO_CAST_TO_ASCII |
|
|
|
|
|
|
|
|
|
|
|
# QT_NO_CAST_FROM_ASCII |
|
|
|
# QT_NO_CAST_FROM_ASCII |
|
|
|
# Windows |
|
|
|
# Windows |
|
|
|
# usually built as static |
|
|
|
# usually built as static |
|
|
|
#win32:LIBS += -ltorrent -lcurl -lboost_system |
|
|
|
# win32:LIBS += -ltorrent -lcurl -lboost_system |
|
|
|
#win32:LIBS += -lz ? |
|
|
|
# win32:LIBS += -lz ? |
|
|
|
win32:LIBS += -lssl32 -lws2_32 -lwsock32 -ladvapi32 -lwinmm |
|
|
|
win32:LIBS += -lssl32 \ |
|
|
|
|
|
|
|
-lws2_32 \ |
|
|
|
|
|
|
|
-lwsock32 \ |
|
|
|
|
|
|
|
-ladvapi32 \ |
|
|
|
|
|
|
|
-lwinmm |
|
|
|
RESOURCES = icons.qrc \ |
|
|
|
RESOURCES = icons.qrc \ |
|
|
|
lang.qrc \ |
|
|
|
lang.qrc \ |
|
|
|
search.qrc \ |
|
|
|
search.qrc \ |
|
|
@ -179,7 +182,8 @@ HEADERS += GUI.h \ |
|
|
|
searchTab.h \ |
|
|
|
searchTab.h \ |
|
|
|
console_imp.h \ |
|
|
|
console_imp.h \ |
|
|
|
ico.h \ |
|
|
|
ico.h \ |
|
|
|
stacktrace.h |
|
|
|
stacktrace.h \ |
|
|
|
|
|
|
|
torrentPersistentData.h |
|
|
|
FORMS += MainWindow.ui \ |
|
|
|
FORMS += MainWindow.ui \ |
|
|
|
options.ui \ |
|
|
|
options.ui \ |
|
|
|
about.ui \ |
|
|
|
about.ui \ |
|
|
@ -221,5 +225,4 @@ SOURCES += GUI.cpp \ |
|
|
|
eventmanager.cpp \ |
|
|
|
eventmanager.cpp \ |
|
|
|
SearchTab.cpp \ |
|
|
|
SearchTab.cpp \ |
|
|
|
ico.cpp |
|
|
|
ico.cpp |
|
|
|
|
|
|
|
|
|
|
|
DESTDIR = . |
|
|
|
DESTDIR = . |
|
|
|