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