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/applications/quandoparte.desktop \
111 resources/fremantle/applications/quandoparte.desktop \
112 icons/48x48/quandoparte.png \
113 icons/64x64/quandoparte.png \
114 icons/scalable/quandoparte.svg \
115 icons/quandoparte.png \
116 resources/quandoparte.css \
117 resources/arrivals.css \
118 resources/departures.css \
119 $$replace(TRANSLATIONS, .ts, .qm) \
120 resources/stations/stations.qpl \
121 resources/stations/generatelist.xq \
122 resources/stations/generateunclassifiedlist.xq \
123 resources/harmattan/qml/main.qml \
124 resources/harmattan/qml/StationListPage.qml \
125 resources/harmattan/qml/StationPage.qml \
126 resources/harmattan/qml/SearchBar.qml \
127 resources/harmattan/qml/PageHeader.qml \
128 resources/harmattan/qml/uiconstants.js \
129 resources/harmattan/qml/StationListPage.js \
130 resources/harmattan/qml/AboutPage.qml \
131 resources/harmattan/qml/InfoBar.qml \
132 resources/harmattan/qml/DroppedShadow.qml \
133 resources/harmattan/qml/DelayIndicator.qml
141 PREFIX=/opt/$${TARGET}
148 DESKTOPDIR=/usr/share/applications/hildon
151 DESKTOPDIR=/usr/share/applications
154 DESKTOPDIR=$$PREFIX/share/applications
158 DESKTOPDIR=$$PREFIX/share/applications
159 contains(USE_RESOURCES,1) {
162 DATADIR=$$PREFIX/share/apps/$${TARGET}
164 DEFINES += DATADIR=\\\"$${DATADIR}\\\" PKGDATADIR=\\\"$${PKGDATADIR}\\\"
167 message(Installing to prefix $$PREFIX)
170 target.path = $$BINDIR
175 desktopfile.files = resources/$$PLATFORM/applications/$${TARGET}.desktop
176 desktopfile.path = $$DESKTOPDIR
177 INSTALLS += desktopfile
181 css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
182 i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
183 stations.files = resources/stations/stations.qpl
185 i18n.path = $$DATADIR/i18n
186 css.path = $$DATADIR/css
187 stations.path = $$DATADIR/stations
189 icon48.files = icons/48x48/$${TARGET}.png
190 icon64.files = icons/64x64/$${TARGET}.png
191 iconscalable.files = icons/scalable/$${TARGET}.svg
193 icon48.path = /usr/share/icons/hicolor/48x48/apps
194 icon64.path = /usr/share/icons/hicolor/64x64/apps
195 iconscalable.path = /usr/share/icons/hicolor/scalable/apps
199 INSTALLS += iconscalable
200 !contains(USE_RESOURCES,1) {
207 !contains(USE_RESOURCES,1) {
209 qml.files = resources/harmattan/qml/*.qml resources/harmattan/qml/*.js
210 qml.path = $$DATADIR/qml
215 contains(USE_RESOURCES,1) {