source: trunk/qt/qtr.pro @ 14387

Last change on this file since 14387 was 14387, checked in by mikedld, 8 years ago

Rework torrent details dialog in Qt client to load from .ui

Make squeeze labels (used for values on Information tab) display tooltip
on hover if their text doesn't fit. Make selective labels (same as in
GTK+ client) text selectable with keyboard in addition to mouse.
Prevent dialog width growth occured before to fit long error texts.

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 c++11 warn_on
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_hu.ts \
43                translations/transmission_kk.ts \
44                translations/transmission_lt.ts \
45                translations/transmission_pt_BR.ts \
46                translations/transmission_ru.ts \
47                translations/transmission_uk.ts
48
49FORMS += details.ui \
50         mainwin.ui
51RESOURCES += application.qrc
52SOURCES += about.cc \
53           add-data.cc \
54           app.cc \
55           dbus-adaptor.cc \
56           details.cc \
57           favicon.cc \
58           file-tree.cc \
59           filterbar.cc \
60           filters.cc \
61           freespace-label.cc \
62           formatter.cc \
63           hig.cc \
64           license.cc \
65           mainwin.cc \
66           make-dialog.cc \
67           options.cc \
68           prefs.cc \
69           prefs-dialog.cc \
70           relocate.cc \
71           session.cc \
72           session-dialog.cc \
73           squeezelabel.cc \
74           stats-dialog.cc \
75           torrent.cc torrent-delegate.cc \
76           torrent-delegate-min.cc \
77           torrent-filter.cc \
78           torrent-model.cc \
79           tracker-delegate.cc \
80           tracker-model.cc \
81           tracker-model-filter.cc \
82           triconpushbutton.cc \
83           utils.cc \
84           watchdir.cc
85HEADERS += $$replace(SOURCES, .cc, .h)
86HEADERS += speed.h types.h
87
88win32:RC_FILE = qtr.rc
Note: See TracBrowser for help on using the repository browser.