source: trunk/qt/qtr.pro @ 12954

Last change on this file since 12954 was 12954, checked in by jordan, 11 years ago

(trunk) #4490 "Transmission 2.40b1 fails to build: undefined references" -- fixed.

File size: 2.3 KB
Line 
1TARGET = transmission-qt
2NAME = "Transmission"
3DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
4VERSION = 2.00
5LICENSE = "GPL"
6
7target.path = /bin
8INSTALLS += target
9
10unix: INSTALLS += man
11man.path = /share/man/man1/
12man.files = transmission-qt.1
13
14CONFIG += qt qdbus thread debug link_pkgconfig
15QT += network
16PKGCONFIG = fontconfig libcurl openssl libevent
17
18TRANSMISSION_TOP = ..
19INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
20INCLUDEPATH += $${TRANSMISSION_TOP}
21LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
22exists( $${TRANSMISSION_TOP}/third-party/libutp/Makefile ) {
23    LIBS += $${TRANSMISSION_TOP}/third-party/libutp/libutp.a
24}
25LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
26LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
27LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
28unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
29win32:DEFINES += QT_DBUS
30win32:LIBS += -levent-2.0 -lws2_32 -lintl
31win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
32
33TRANSLATIONS += translations/transmission_en.ts \
34                translations/transmission_es.ts \
35                translations/transmission_kk.ts \
36                translations/transmission_lt.ts \
37                translations/transmission_pt_BR.ts \
38                translations/transmission_ru.ts
39
40FORMS += mainwin.ui
41RESOURCES += application.qrc
42SOURCES += about.cc \
43           add-data.cc \
44           app.cc \
45           dbus-adaptor.cc \
46           details.cc \
47           favicon.cc \
48           file-tree.cc \
49           filterbar.cc \
50           filters.cc \
51           formatter.cc \
52           hig.cc \
53           license.cc \
54           mainwin.cc \
55           make-dialog.cc \
56           options.cc \
57           prefs.cc \
58           prefs-dialog.cc \
59           relocate.cc \
60           session.cc \
61           session-dialog.cc \
62           squeezelabel.cc \
63           stats-dialog.cc \
64           torrent.cc torrent-delegate.cc \
65           torrent-delegate-min.cc \
66           torrent-filter.cc \
67           torrent-model.cc \
68           tracker-delegate.cc \
69           tracker-model.cc \
70           tracker-model-filter.cc \
71           triconpushbutton.cc \
72           utils.cc \
73           watchdir.cc
74HEADERS += $$replace(SOURCES, .cc, .h)
75HEADERS += speed.h types.h
76
77win32:RC_FILE = qtr.rc
Note: See TracBrowser for help on using the repository browser.