1 #-------------------------------------------------
3 # Project created by QtCreator 2010-11-13T19:51:39
5 #-------------------------------------------------
14 DEFINES += TARGET_PLATFORM_HARMATTAN
16 CONFIG += qdeclarative-boostable
17 QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
18 QMAKE_LFLAGS += -pie -rdynamic
19 PLATFORM_SOURCES = view.cpp
20 PLATFORM_HEADERS = view.h
25 DEFINES += TARGET_PLATFORM_FREMANTLE
41 DEFINES += TARGET_PLATFORM_SYMBIAN
43 PLATFORM_SOURCES = view.cpp
44 PLATFORM_HEADERS = view.h
46 !harmattan:!maemo5:!symbian {
48 DEFINES += TARGET_PLATFORM_DESKTOP
49 PLATFORM_SOURCES = view.cpp
52 message(Compiling For: $$PLATFORM)
53 message(Platform Sources: $$PLATFORM_SOURCES)
54 message(Qt Modules Used: $$QT)
55 message(Building version: $$VERSION)
57 CONFIG += qt webkit mobility
62 VERSION_STRING = '\\"$${VERSION}\\"'
63 DEFINES += QP_VERSION=\"$${VERSION_STRING}\"
66 # DEFINES += QT_NO_DEBUG_OUTPUT
69 TRANSLATIONS = resources/i18n/quandoparte_it.ts
74 stationlistmodel.cpp \
75 stationlistproxymodel.cpp \
78 stationschedulemodel.cpp \
79 stationscheduleitem.cpp
84 stationlistproxymodel.h \
87 stationschedulemodel.h \
95 TARGET.UID3 = 0xe30fb688
96 # TARGET.CAPABILITY +=
97 TARGET.EPOCSTACKSIZE = 0x14000
98 TARGET.EPOCHEAPSIZE = 0x020000 0x800000
102 resources/harmattan/applications/quandoparte.desktop \
103 resources/fremantle/applications/quandoparte.desktop \
104 icons/48x48/quandoparte.png \
105 icons/64x64/quandoparte.png \
106 icons/scalable/quandoparte.svg \
107 icons/quandoparte.png \
108 resources/quandoparte.css \
109 resources/arrivals.css \
110 resources/departures.css \
111 $$replace(TRANSLATIONS, .ts, .qm) \
112 resources/stations/stations.qpl \
113 resources/stations/generatelist.xq \
114 resources/stations/generateunclassifiedlist.xq \
115 resources/harmattan/qml/main.qml \
116 resources/harmattan/qml/StationListPage.qml \
117 resources/harmattan/qml/StationPage.qml \
118 resources/harmattan/qml/SearchBar.qml \
119 resources/harmattan/qml/PageHeader.qml \
120 resources/harmattan/qml/uiconstants.js \
121 resources/harmattan/qml/StationListPage.js \
122 resources/harmattan/qml/AboutPage.qml \
123 resources/harmattan/qml/InfoBar.qml
134 DESKTOPDIR=/usr/share/applications/hildon
136 DESKTOPDIR=$$PREFIX/share/applications
140 DATADIR=$$PREFIX/share/apps/$${TARGET}
141 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
144 message(Installing to prefix $$PREFIX)
147 target.path = $$BINDIR
152 desktopfile.files = resources/$$PLATFORM/applications/$${TARGET}.desktop
153 desktopfile.path = $$DESKTOPDIR
154 INSTALLS += desktopfile
158 css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
159 i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
160 stations.files = resources/stations/stations.qpl
162 i18n.path = $$DATADIR/i18n
163 css.path = $$DATADIR/css
164 stations.path = $$DATADIR/stations
166 icon48.files = icons/48x48/$${TARGET}.png
167 icon64.files = icons/64x64/$${TARGET}.png
168 iconscalable.files = icons/scalable/$${TARGET}.svg
170 icon48.path = /usr/share/icons/hicolor/48x48/apps
171 icon64.path = /usr/share/icons/hicolor/64x64/apps
172 iconscalable.path = /usr/share/icons/hicolor/scalable/apps
176 INSTALLS += iconscalable
183 qml.files = resources/harmattan/qml/*.qml resources/harmattan/qml/*.js
184 qml.path = $$DATADIR/qml