Use the new 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 unix:!symbian {
61     maemo5 {
62         target.path = /opt/usr/bin
63     } else {
64         target.path = /usr/local/bin
65     }
66     INSTALLS += target
67 }
68
69 unix:!symbian {
70     desktopfile.files = $${TARGET}.desktop
71     maemo5 {
72         desktopfile.path = /usr/share/applications/hildon
73     } else {
74         desktopfile.path = /usr/share/applications
75     }
76     INSTALLS += desktopfile
77 }
78
79 unix:!symbian {
80     css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
81     i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
82     stations.files = resources/stations/stations.qpl
83     maemo5 {
84         i18n.path = /opt/usr/share/apps/$${TARGET}/i18n
85         css.path = /opt/usr/share/apps/$${TARGET}/css
86         stations.path = /opt/usr/share/apps/$${TARGET}/stations
87     } else {
88         i18n.path = /usr/share/apps/$${TARGET}/i18n
89         css.path = /usr/share/apps/$${TARGET}/css
90         stations.path = /usr/share/apps/$${TARGET}/stations
91     }
92     icon48.files = icons/48x48/$${TARGET}.png
93     icon64.files = icons/64x64/$${TARGET}.png
94     icon48.path = /usr/share/icons/hicolor/48x48/apps
95     icon64.path = /usr/share/icons/hicolor/64x64/apps
96     INSTALLS += icon48
97     INSTALLS += icon64
98     INSTALLS += css
99     INSTALLS += i18n
100 }