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