1 #-------------------------------------------------
3 # Project created by QtCreator 2010-11-13T19:51:39
5 #-------------------------------------------------
11 CONFIG += qt webkit mobility
14 contains(MEEGO_EDITION,harmattan) {
21 DEFINES += TARGET_PLATFORM_HARMATTAN
23 CONFIG += qdeclarative-boostable
24 QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-psabi
25 QMAKE_LFLAGS += -pie -rdynamic
26 PLATFORM_SOURCES = view.cpp
27 PLATFORM_HEADERS = view.h
32 DEFINES += TARGET_PLATFORM_FREMANTLE
48 DEFINES += TARGET_PLATFORM_SYMBIAN
50 PLATFORM_SOURCES = view.cpp
51 PLATFORM_HEADERS = view.h
53 !harmattan:!maemo5:!symbian {
55 DEFINES += TARGET_PLATFORM_DESKTOP
56 PLATFORM_SOURCES = view.cpp
59 message(Compiling For: $$PLATFORM)
60 message(Platform Sources: $$PLATFORM_SOURCES)
61 message(Qt Modules Used: $$QT)
62 message(Building version: $$VERSION)
66 VERSION_STRING = '\\"$${VERSION}\\"'
67 DEFINES += QP_VERSION=\"$${VERSION_STRING}\"
69 contains(USE_RESOURCES,1) {
70 DEFINES += USE_RESOURCES=1
74 # DEFINES += QT_NO_DEBUG_OUTPUT
77 TRANSLATIONS = resources/i18n/quandoparte_it.ts
82 stationlistmodel.cpp \
83 stationlistproxymodel.cpp \
86 stationschedulemodel.cpp \
87 stationscheduleitem.cpp
92 stationlistproxymodel.h \
95 stationschedulemodel.h \
103 TARGET.UID3 = 0xe30fb688
104 # TARGET.CAPABILITY +=
105 TARGET.EPOCSTACKSIZE = 0x14000
106 TARGET.EPOCHEAPSIZE = 0x020000 0x800000
110 resources/harmattan/qml/main.qml \
111 resources/harmattan/qml/StationListPage.qml \
112 resources/harmattan/qml/StationPage.qml \
113 resources/harmattan/qml/SearchBar.qml \
114 resources/harmattan/qml/PageHeader.qml \
115 resources/harmattan/qml/PageHeader.js \
116 resources/harmattan/qml/uiconstants.js \
117 resources/harmattan/qml/StationListPage.js \
118 resources/harmattan/qml/AboutPage.qml \
119 resources/harmattan/qml/InfoBar.qml \
120 resources/harmattan/qml/DroppedShadow.qml \
121 resources/harmattan/qml/DelayIndicator.qml \
122 resources/harmattan/qml/StationScheduleDelegate.qml
125 resources/harmattan/applications/quandoparte.desktop \
126 resources/fremantle/applications/quandoparte.desktop \
127 icons/48x48/quandoparte.png \
128 icons/64x64/quandoparte.png \
129 icons/scalable/quandoparte.svg \
130 icons/quandoparte.png \
131 resources/quandoparte.css \
132 resources/arrivals.css \
133 resources/departures.css \
134 $$replace(TRANSLATIONS, .ts, .qm) \
135 resources/stations/stations.qpl \
136 resources/stations/generatelist.xq \
137 resources/stations/generateunclassifiedlist.xq \
146 PREFIX=/opt/$${TARGET}
153 DESKTOPDIR=/usr/share/applications/hildon
156 DESKTOPDIR=/usr/share/applications
159 DESKTOPDIR=$$PREFIX/share/applications
163 contains(USE_RESOURCES,1) {
166 DATADIR=$$PREFIX/share/apps/$${TARGET}
168 DEFINES += DATADIR=\\\"$${DATADIR}\\\" PKGDATADIR=\\\"$${PKGDATADIR}\\\"
171 message(Installing to prefix $$PREFIX)
174 target.path = $$BINDIR
179 desktopfile.files = resources/$$PLATFORM/applications/$${TARGET}.desktop
180 desktopfile.path = $$DESKTOPDIR
181 INSTALLS += desktopfile
185 css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
186 i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
187 stations.files = resources/stations/stations.qpl
189 i18n.path = $$DATADIR/i18n
190 css.path = $$DATADIR/css
191 stations.path = $$DATADIR/stations
193 icon48.files = icons/48x48/$${TARGET}.png
194 icon64.files = icons/64x64/$${TARGET}.png
195 iconscalable.files = icons/scalable/$${TARGET}.svg
197 icon48.path = /usr/share/icons/hicolor/48x48/apps
198 icon64.path = /usr/share/icons/hicolor/64x64/apps
199 iconscalable.path = /usr/share/icons/hicolor/scalable/apps
203 INSTALLS += iconscalable
204 !contains(USE_RESOURCES,1) {
211 !contains(USE_RESOURCES,1) {
213 qml.files = resources/harmattan/qml/*.qml resources/harmattan/qml/*.js
214 qml.path = $$DATADIR/qml
219 contains(USE_RESOURCES,1) {
224 hack_to_fix_translations {
225 SOURCES += $$QMLSOURCES