1 #-------------------------------------------------
3 # Project created by QtCreator 2010-03-01T19:21:07
5 #-------------------------------------------------
7 QT += core gui network dbus
9 CONFIG += link_pkgconfig
13 DEFINES += Q_WS_MAEMO_5
16 PKGCONFIG += calendar-backend liblocation
17 DEFINES += MAEMO_SDK LIBLOCATION
23 DEFINES += QT_MOBILITY
24 !contains(DEFINES, LIBLOCATION) {
25 DEFINES += QT_MOBILITY_LOCATION
29 TARGET = movie-schedule
36 control/actioncontroller.cpp \
37 control/maincontroller.cpp \
38 control/moviecontroller.cpp \
39 control/settingscontroller.cpp \
40 control/theatercontroller.cpp \
43 data/cinemaschedule.cpp \
47 data/scheduleentry.cpp \
48 data/scheduleentrykey.cpp \
50 searchclients/abstractsearchclient.cpp \
51 searchclients/movieschedulesearchclient.cpp \
52 searchclients/moviesearchclient.cpp \
53 searchclients/theaterschedulesearchclient.cpp \
54 searchclients/theatersearchclient.cpp \
55 ui/abstractmainwindow.cpp \
56 ui/backgroundlabel.cpp \
57 ui/cinemapainter.cpp \
58 ui/contextdialog.cpp \
60 ui/locationdialog.cpp \
62 ui/moviedelegate.cpp \
65 ui/moviescheduledelegate.cpp \
66 ui/movieschedulemodel.cpp \
68 ui/ratingprovider.cpp \
69 ui/theaterdelegate.cpp \
71 ui/theaterscheduledelegate.cpp \
72 ui/theaterschedulemodel.cpp \
73 ui/theaterwindow.cpp \
75 utils/assertedlock.cpp \
76 utils/assertedlocker.cpp \
80 ui/scheduleentryitem.cpp \
81 control/itemmodelsortcontroller.cpp \
82 control/itemmodelsortclient.cpp \
83 control/itemmodelsortproxy.cpp \
84 utils/asynccallclient.cpp \
85 utils/asynccallproxy.cpp \
88 searchclients/gpsclient.cpp \
90 searchclients/searchclientsemaphore.cpp \
91 control/locationcontroller.cpp \
92 utils/connectivitymanager.cpp
95 control/actioncontroller.h \
96 control/maincontroller.h \
97 control/moviecontroller.h \
98 control/settingscontroller.h \
99 control/theatercontroller.h \
102 data/cinemaschedule.h \
106 data/scheduleentry.h \
107 data/scheduleentrykey.h \
109 searchclients/abstractsearchclient.h \
110 searchclients/movieschedulesearchclient.h \
111 searchclients/moviesearchclient.h \
112 searchclients/theaterschedulesearchclient.h \
113 searchclients/theatersearchclient.h \
114 ui/abstractmainwindow.h \
115 ui/backgroundlabel.h \
119 ui/locationdialog.h \
124 ui/moviescheduledelegate.h \
125 ui/movieschedulemodel.h \
127 ui/ratingprovider.h \
128 ui/theaterdelegate.h \
130 ui/theaterscheduledelegate.h \
131 ui/theaterschedulemodel.h \
134 utils/assertedlock.h \
135 utils/assertedlocker.h \
140 ui/scheduleentryitem.h \
141 control/itemmodelsortcontroller.h \
142 control/itemmodelsortclient.h \
143 control/itemmodelsortproxy.h \
144 utils/asynccallclient.h \
145 utils/asynccallproxy.h \
148 searchclients/gpsclient.h \
150 searchclients/searchclientsemaphore.h \
151 control/locationcontroller.h \
152 utils/connectivitymanager.h
155 ui/theaterwindow.ui \
157 ui/locationdialog.ui \
159 ui/contextdialog.ui \
166 translations/movie-schedule_de.ts
169 translations/movie-schedule_de.ts \
170 ../data/movie-schedule.desktop \
171 ../debian/copyright \
173 ../debian/changelog \
183 !isEmpty(TRANSLATIONS) {
184 isEmpty(QMAKE_LRELEASE) {
185 win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
186 else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
189 isEmpty(TS_DIR):TS_DIR = translations
191 TSQM.name = lrelease ${QMAKE_FILE_IN}
192 TSQM.input = TRANSLATIONS
193 TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
194 TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$TS_DIR/${QMAKE_FILE_BASE}.qm
195 TSQM.CONFIG = no_link
196 QMAKE_EXTRA_COMPILERS += TSQM
198 PRE_TARGETDEPS += compiler_TSQM_make_all
205 DEFINES += DEFAULT_PREFIX
208 BINDIR = $$PREFIX/bin
209 DATADIR =$$PREFIX/share
211 DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"
215 INSTALLS += target desktop scalable i18n
217 target.path = $$BINDIR
219 desktop.path = $$DATADIR/applications/hildon
220 desktop.files += ../data/$${TARGET}.desktop
222 scalable.path = $$DATADIR/icons/hicolor/scalable/hildon
223 scalable.files += ../data/scalable/$${TARGET}.png
225 i18n.path = $$DATADIR/$${TARGET}
226 i18n.files += ../builddir/src/translations