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 \
184 SOURCES += ui/optionsdialog.cpp
185 HEADERS += ui/optionsdialog.h
186 FORMS += ui/optionsdialog.ui
189 !isEmpty(TRANSLATIONS) {
190 isEmpty(QMAKE_LRELEASE) {
191 win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
192 else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
195 isEmpty(TS_DIR):TS_DIR = translations
197 TSQM.name = lrelease ${QMAKE_FILE_IN}
198 TSQM.input = TRANSLATIONS
199 TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
200 TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm $$TS_DIR/${QMAKE_FILE_BASE}.qm
201 TSQM.CONFIG = no_link
202 QMAKE_EXTRA_COMPILERS += TSQM
204 PRE_TARGETDEPS += compiler_TSQM_make_all
211 DEFINES += DEFAULT_PREFIX
214 BINDIR = $$PREFIX/bin
215 DATADIR =$$PREFIX/share
217 DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\"
221 INSTALLS += target desktop scalable i18n
223 target.path = $$BINDIR
225 desktop.path = $$DATADIR/applications/hildon
226 desktop.files += ../data/$${TARGET}.desktop
228 scalable.path = $$DATADIR/icons/hicolor/scalable/hildon
229 scalable.files += ../data/scalable/$${TARGET}.png
231 i18n.path = $$DATADIR/$${TARGET}
232 i18n.files += ../builddir/src/translations