transmission/qt/qtr.pro

122 lines
3.6 KiB
Prolog
Raw Normal View History

TARGET = transmission-qt
NAME = "Transmission"
DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
2013-07-27 21:58:14 +00:00
VERSION = 2.81
LICENSE = "GPL"
target.path = /bin
INSTALLS += target
2009-04-09 18:55:47 +00:00
2010-06-26 21:42:50 +00:00
unix: INSTALLS += man
man.path = /share/man/man1/
man.files = transmission-qt.1
2014-05-09 02:32:28 +00:00
CONFIG += qt thread debug link_pkgconfig c++11 warn_on
QT += network dbus
PKGCONFIG = fontconfig libcurl openssl libevent
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets
}
2015-12-21 13:20:35 +00:00
DEFINES += QT_NO_CAST_FROM_ASCII ENABLE_DBUS_INTEROP
win32:DEFINES += QT_DBUS
2009-04-09 18:55:47 +00:00
TRANSMISSION_TOP = ..
include(config.pri)
INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
2009-04-09 18:55:47 +00:00
INCLUDEPATH += $${TRANSMISSION_TOP}
LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
LIBS += $${LIBUTP_LIBS}
LIBS += $${DHT_LIBS}
LIBS += $${LIBB64_LIBS}
LIBS += $${LIBUPNP_LIBS}
LIBS += $${LIBNATPMP_LIBS}
unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
win32:LIBS += -levent-2.0 -lws2_32 -lintl
win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
2009-04-09 18:55:47 +00:00
2015-12-21 13:20:35 +00:00
lessThan(QT_MAJOR_VERSION, 5) : *-g++* | *-clang* : QMAKE_CXXFLAGS += -std=gnu++11
TRANSLATIONS += translations/transmission_de.ts \
translations/transmission_en.ts \
translations/transmission_es.ts \
translations/transmission_eu.ts \
translations/transmission_fr.ts \
translations/transmission_hu.ts \
translations/transmission_id.ts \
translations/transmission_it_IT.ts \
translations/transmission_kk.ts \
translations/transmission_ko.ts \
translations/transmission_lt.ts \
translations/transmission_pl_PL.ts \
translations/transmission_pt_BR.ts \
translations/transmission_ru.ts \
translations/transmission_uk.ts \
translations/transmission_zh_CN.ts
2009-04-09 18:55:47 +00:00
FORMS += AboutDialog.ui \
DetailsDialog.ui \
LicenseDialog.ui \
MainWindow.ui \
MakeDialog.ui \
MakeProgressDialog.ui \
OptionsDialog.ui \
PrefsDialog.ui \
RelocateDialog.ui \
SessionDialog.ui \
StatsDialog.ui
2009-04-09 18:55:47 +00:00
RESOURCES += application.qrc
win32|macx:RESOURCES += icons/Faenza/Faenza.qrc
SOURCES += AboutDialog.cc \
AddData.cc \
Application.cc \
ColumnResizer.cc \
2015-12-21 13:20:35 +00:00
DBusInteropHelper.cc \
DetailsDialog.cc \
FaviconCache.cc \
FileTreeDelegate.cc \
FileTreeItem.cc \
FileTreeModel.cc \
FileTreeView.cc \
FilterBar.cc \
FilterBarComboBox.cc \
FilterBarComboBoxDelegate.cc \
FilterBarLineEdit.cc \
Filters.cc \
Formatter.cc \
FreeSpaceLabel.cc \
IconToolButton.cc \
2015-12-21 13:20:35 +00:00
InteropHelper.cc \
InteropObject.cc \
LicenseDialog.cc \
MainWindow.cc \
MakeDialog.cc \
OptionsDialog.cc \
PathButton.cc \
Prefs.cc \
PrefsDialog.cc \
RelocateDialog.cc \
RpcClient.cc \
Session.cc \
SessionDialog.cc \
SqueezeLabel.cc \
StatsDialog.cc \
Torrent.cc \
TorrentDelegate.cc \
TorrentDelegateMin.cc \
TorrentFilter.cc \
TorrentModel.cc \
TorrentView.cc \
TrackerDelegate.cc \
TrackerModel.cc \
TrackerModelFilter.cc \
Utils.cc \
WatchDir.cc
HEADERS += $$replace(SOURCES, .cc, .h)
HEADERS += BaseDialog.h CustomVariantType.h Speed.h
2009-04-09 18:55:47 +00:00
win32:RC_FILE = qtr.rc