source: trunk/qt/qtr.pro @ 14163

Last change on this file since 14163 was 14163, checked in by jordan, 9 years ago

(trunk, qt) #5465: restore Qt 4.6 support, patch by mike.did

File size: 2.4 KB
Line 
1TARGET = transmission-qt
2NAME = "Transmission"
3DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
4VERSION = 2.81
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 thread debug link_pkgconfig
15QT += network dbus
16PKGCONFIG = fontconfig libcurl openssl libevent
17
18greaterThan(QT_MAJOR_VERSION, 4) {
19    QT += widgets
20}
21
22TRANSMISSION_TOP = ..
23
24include(config.pri)
25
26INCLUDEPATH = $${EVENT_TOP}/include $${INCLUDEPATH}
27INCLUDEPATH += $${TRANSMISSION_TOP}
28LIBS += $${TRANSMISSION_TOP}/libtransmission/libtransmission.a
29LIBS += $${LIBUTP_LIBS}
30LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a
31LIBS += $${LIBUPNP_LIBS}
32LIBS += $${LIBNATPMP_LIBS}
33unix: LIBS += -L$${EVENT_TOP}/lib -lz -lrt
34win32:DEFINES += QT_DBUS
35win32:LIBS += -levent-2.0 -lws2_32 -lintl
36win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi
37
38TRANSLATIONS += translations/transmission_en.ts \
39                translations/transmission_es.ts \
40                translations/transmission_eu.ts \
41                translations/transmission_fr.ts \
42                translations/transmission_kk.ts \
43                translations/transmission_lt.ts \
44                translations/transmission_pt_BR.ts \
45                translations/transmission_ru.ts \
46                translations/transmission_hu.ts
47
48FORMS += mainwin.ui
49RESOURCES += application.qrc
50SOURCES += about.cc \
51           add-data.cc \
52           app.cc \
53           dbus-adaptor.cc \
54           details.cc \
55           favicon.cc \
56           file-tree.cc \
57           filterbar.cc \
58           filters.cc \
59           freespace-label.cc \
60           formatter.cc \
61           hig.cc \
62           license.cc \
63           mainwin.cc \
64           make-dialog.cc \
65           options.cc \
66           prefs.cc \
67           prefs-dialog.cc \
68           relocate.cc \
69           session.cc \
70           session-dialog.cc \
71           squeezelabel.cc \
72           stats-dialog.cc \
73           torrent.cc torrent-delegate.cc \
74           torrent-delegate-min.cc \
75           torrent-filter.cc \
76           torrent-model.cc \
77           tracker-delegate.cc \
78           tracker-model.cc \
79           tracker-model-filter.cc \
80           triconpushbutton.cc \
81           utils.cc \
82           watchdir.cc
83HEADERS += $$replace(SOURCES, .cc, .h)
84HEADERS += speed.h types.h
85
86win32:RC_FILE = qtr.rc
Note: See TracBrowser for help on using the repository browser.