Enable use of StationListModel
[quandoparte] / application / application.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-11-13T19:51:39
4 #
5 #-------------------------------------------------
6
7 QT += webkit network xml maemo5
8
9 TARGET = quandoparte
10 TEMPLATE = app
11
12 TRANSLATIONS = resources/i18n/quandoparte_it.ts
13
14 SOURCES += main.cpp \
15     settingsdialog.cpp \
16     stationview.cpp \
17     app.cpp \
18     stationlistview.cpp \
19     keypressforwarder.cpp \
20     stationlistmodel.cpp
21
22 HEADERS += \
23     settingsdialog.h \
24     stationview.h \
25     app.h \
26     stationlistview.h \
27     keypressforwarder.h \
28     stationlistmodel.h
29
30 FORMS += \
31     settingsdialog.ui \
32     stationlistview.ui
33
34 CONFIG += webkit mobility
35 MOBILITY = location
36
37 symbian {
38     TARGET.UID3 = 0xe30fb688
39     # TARGET.CAPABILITY += 
40     TARGET.EPOCSTACKSIZE = 0x14000
41     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
42 }
43
44 OTHER_FILES += \
45     debian/changelog \
46     debian/compat \
47     debian/control \
48     debian/copyright \
49     debian/README \
50     debian/rules \
51     quandoparte.desktop \
52     icons/quandoparte.png \
53     resources/quandoparte.css \
54     resources/arrivals.css \
55     resources/departures.css \
56     $$replace(TRANSLATIONS, .ts, .qm) \
57     resources/stations/stations.qpl
58
59 message($${OTHER_FILES})
60
61 unix:!symbian {
62     maemo5 {
63         target.path = /opt/usr/bin
64     } else {
65         target.path = /usr/local/bin
66     }
67     INSTALLS += target
68 }
69
70 unix:!symbian {
71     desktopfile.files = $${TARGET}.desktop
72     maemo5 {
73         desktopfile.path = /usr/share/applications/hildon
74     } else {
75         desktopfile.path = /usr/share/applications
76     }
77     INSTALLS += desktopfile
78 }
79
80 unix:!symbian {
81     css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
82     i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
83     stations.files = resources/stations/stations.qpl
84     maemo5 {
85         i18n.path = /opt/usr/share/apps/$${TARGET}/i18n
86         css.path = /opt/usr/share/apps/$${TARGET}/css
87         stations.path = /opt/usr/share/apps/$${TARGET}/stations
88     } else {
89         i18n.path = /usr/share/apps/$${TARGET}/i18n
90         css.path = /usr/share/apps/$${TARGET}/css
91         stations.path = /usr/share/apps/$${TARGET}/stations
92     }
93     icon48.files = icons/48x48/$${TARGET}.png
94     icon64.files = icons/64x64/$${TARGET}.png
95     icon48.path = /usr/share/icons/hicolor/48x48/apps
96     icon64.path = /usr/share/icons/hicolor/64x64/apps
97     INSTALLS += icon48
98     INSTALLS += icon64
99     INSTALLS += css
100     INSTALLS += i18n
101     INSTALLS += stations
102 }