1 #-------------------------------------------------
3 # Project created by QtCreator 2010-11-13T19:51:39
5 #-------------------------------------------------
10 CONFIG += qt webkit mobility
13 contains(MEEGO_EDITION,harmattan) {
20 DEFINES += TARGET_PLATFORM_HARMATTAN
22 CONFIG += qdeclarative-boostable
23 QMAKE_CXXFLAGS += -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-psabi
24 QMAKE_LFLAGS += -pie -rdynamic
25 PLATFORM_SOURCES = view.cpp
26 PLATFORM_HEADERS = view.h
31 DEFINES += TARGET_PLATFORM_FREMANTLE
47 DEFINES += TARGET_PLATFORM_SYMBIAN
49 PLATFORM_SOURCES = view.cpp
50 PLATFORM_HEADERS = view.h
52 !harmattan:!maemo5:!symbian {
54 DEFINES += TARGET_PLATFORM_DESKTOP
55 PLATFORM_SOURCES = view.cpp
58 message(Compiling For: $$PLATFORM)
59 message(Platform Sources: $$PLATFORM_SOURCES)
60 message(Qt Modules Used: $$QT)
61 message(Building version: $$VERSION)
65 VERSION_STRING = '\\"$${VERSION}\\"'
66 DEFINES += QP_VERSION=\"$${VERSION_STRING}\"
69 # DEFINES += QT_NO_DEBUG_OUTPUT
72 TRANSLATIONS = resources/i18n/quandoparte_it.ts
77 stationlistmodel.cpp \
78 stationlistproxymodel.cpp \
81 stationschedulemodel.cpp \
82 stationscheduleitem.cpp
87 stationlistproxymodel.h \
90 stationschedulemodel.h \
98 TARGET.UID3 = 0xe30fb688
99 # TARGET.CAPABILITY +=
100 TARGET.EPOCSTACKSIZE = 0x14000
101 TARGET.EPOCHEAPSIZE = 0x020000 0x800000
105 resources/harmattan/applications/quandoparte.desktop \
106 resources/fremantle/applications/quandoparte.desktop \
107 icons/48x48/quandoparte.png \
108 icons/64x64/quandoparte.png \
109 icons/scalable/quandoparte.svg \
110 icons/quandoparte.png \
111 resources/quandoparte.css \
112 resources/arrivals.css \
113 resources/departures.css \
114 $$replace(TRANSLATIONS, .ts, .qm) \
115 resources/stations/stations.qpl \
116 resources/stations/generatelist.xq \
117 resources/stations/generateunclassifiedlist.xq \
118 resources/harmattan/qml/main.qml \
119 resources/harmattan/qml/StationListPage.qml \
120 resources/harmattan/qml/StationPage.qml \
121 resources/harmattan/qml/SearchBar.qml \
122 resources/harmattan/qml/PageHeader.qml \
123 resources/harmattan/qml/uiconstants.js \
124 resources/harmattan/qml/StationListPage.js \
125 resources/harmattan/qml/AboutPage.qml \
126 resources/harmattan/qml/InfoBar.qml \
127 resources/harmattan/qml/DroppedShadow.qml \
128 resources/harmattan/qml/DelayIndicator.qml
136 PREFIX=/opt/$${TARGET}
143 DESKTOPDIR=/usr/share/applications/hildon
146 DESKTOPDIR=/usr/share/applications
149 DESKTOPDIR=$$PREFIX/share/applications
153 DESKTOPDIR=$$PREFIX/share/applications
154 DATADIR=$$PREFIX/share/apps/$${TARGET}
155 DEFINES += DATADIR=\\\"$${DATADIR}\\\" PKGDATADIR=\\\"$${PKGDATADIR}\\\"
158 message(Installing to prefix $$PREFIX)
161 target.path = $$BINDIR
166 desktopfile.files = resources/$$PLATFORM/applications/$${TARGET}.desktop
167 desktopfile.path = $$DESKTOPDIR
168 INSTALLS += desktopfile
172 css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
173 i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
174 stations.files = resources/stations/stations.qpl
176 i18n.path = $$DATADIR/i18n
177 css.path = $$DATADIR/css
178 stations.path = $$DATADIR/stations
180 icon48.files = icons/48x48/$${TARGET}.png
181 icon64.files = icons/64x64/$${TARGET}.png
182 iconscalable.files = icons/scalable/$${TARGET}.svg
184 icon48.path = /usr/share/icons/hicolor/48x48/apps
185 icon64.path = /usr/share/icons/hicolor/64x64/apps
186 iconscalable.path = /usr/share/icons/hicolor/scalable/apps
190 INSTALLS += iconscalable
197 qml.files = resources/harmattan/qml/*.qml resources/harmattan/qml/*.js
198 qml.path = $$DATADIR/qml