source: trunk/qt/qtr.pro @ 12957

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

(trunk libT) #4323 "Allow usage of system miniupnpc" -- 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
26exists( $${TRANSMISSION_TOP}/third-party/miniupnp/Makefile ) {
27    LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a
28}
29LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a
30unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
31win32:DEFINES += QT_DBUS
32win32:LIBS += -levent-2.0 -lws2_32 -lintl
33win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
34
35TRANSLATIONS += translations/transmission_en.ts \
36                translations/transmission_es.ts \
37                translations/transmission_kk.ts \
38                translations/transmission_lt.ts \
39                translations/transmission_pt_BR.ts \
40                translations/transmission_ru.ts
41
42FORMS += mainwin.ui
43RESOURCES += application.qrc
44SOURCES += about.cc \
45           add-data.cc \
46           app.cc \
47           dbus-adaptor.cc \
48           details.cc \
49           favicon.cc \
50           file-tree.cc \
51           filterbar.cc \
52           filters.cc \
53           formatter.cc \
54           hig.cc \
55           license.cc \
56           mainwin.cc \
57           make-dialog.cc \
58           options.cc \
59           prefs.cc \
60           prefs-dialog.cc \
61           relocate.cc \
62           session.cc \
63           session-dialog.cc \
64           squeezelabel.cc \
65           stats-dialog.cc \
66           torrent.cc torrent-delegate.cc \
67           torrent-delegate-min.cc \
68           torrent-filter.cc \
69           torrent-model.cc \
70           tracker-delegate.cc \
71           tracker-model.cc \
72           tracker-model-filter.cc \
73           triconpushbutton.cc \
74           utils.cc \
75           watchdir.cc
76HEADERS += $$replace(SOURCES, .cc, .h)
77HEADERS += speed.h types.h
78
79win32:RC_FILE = qtr.rc
Note: See TracBrowser for help on using the repository browser.