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 \
83 stationlistproxymodel.h \
93 TARGET.UID3 = 0xe30fb688
94 # TARGET.CAPABILITY +=
95 TARGET.EPOCSTACKSIZE = 0x14000
96 TARGET.EPOCHEAPSIZE = 0x020000 0x800000
100 resources/harmattan/applications/quandoparte.desktop \
101 resources/fremantle/applications/quandoparte.desktop \
102 icons/48x48/quandoparte.png \
103 icons/64x64/quandoparte.png \
104 icons/scalable/quandoparte.svg \
105 icons/quandoparte.png \
106 resources/quandoparte.css \
107 resources/arrivals.css \
108 resources/departures.css \
109 $$replace(TRANSLATIONS, .ts, .qm) \
110 resources/stations/stations.qpl \
111 resources/stations/generatelist.xq \
112 resources/stations/generateunclassifiedlist.xq \
113 resources/harmattan/qml/main.qml \
114 resources/harmattan/qml/StationListPage.qml \
115 resources/harmattan/qml/StationPage.qml \
116 resources/harmattan/qml/SearchBar.qml \
117 resources/harmattan/qml/PageHeader.qml \
118 resources/harmattan/qml/uiconstants.js \
119 resources/harmattan/qml/StationListPage.js \
120 resources/harmattan/qml/AboutPage.qml
131 DESKTOPDIR=/usr/share/applications/hildon
133 DESKTOPDIR=$$PREFIX/share/applications
137 DATADIR=$$PREFIX/share/apps/$${TARGET}
138 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
141 message(Installing to prefix $$PREFIX)
144 target.path = $$BINDIR
149 desktopfile.files = resources/$$PLATFORM/applications/$${TARGET}.desktop
150 desktopfile.path = $$DESKTOPDIR
151 INSTALLS += desktopfile
155 css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
156 i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
157 stations.files = resources/stations/stations.qpl
159 i18n.path = $$DATADIR/i18n
160 css.path = $$DATADIR/css
161 stations.path = $$DATADIR/stations
163 icon48.files = icons/48x48/$${TARGET}.png
164 icon64.files = icons/64x64/$${TARGET}.png
165 iconscalable.files = icons/scalable/$${TARGET}.svg
167 icon48.path = /usr/share/icons/hicolor/48x48/apps
168 icon64.path = /usr/share/icons/hicolor/64x64/apps
169 iconscalable.path = /usr/share/icons/hicolor/scalable/apps
173 INSTALLS += iconscalable
180 qml.files = resources/harmattan/qml/*.qml resources/harmattan/qml/*.js
181 qml.path = $$DATADIR/qml