Added localization
[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
20 HEADERS += \
21     settingsdialog.h \
22     stationview.h \
23     app.h \
24     stationlistview.h
25
26 FORMS += \
27     settingsdialog.ui \
28     stationlistview.ui
29
30 CONFIG += webkit mobility
31 MOBILITY = location
32
33 symbian {
34     TARGET.UID3 = 0xe30fb688
35     # TARGET.CAPABILITY += 
36     TARGET.EPOCSTACKSIZE = 0x14000
37     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
38 }
39
40 OTHER_FILES += \
41     debian/changelog \
42     debian/compat \
43     debian/control \
44     debian/copyright \
45     debian/README \
46     debian/rules \
47     quandoparte.desktop \
48     icons/quandoparte.png \
49     resources/quandoparte.css \
50     resources/arrivals.css \
51     resources/departures.css \
52     $$replace(TRANSLATIONS, .ts, .qm)
53
54 message($${OTHER_FILES})
55 unix:!symbian {
56     maemo5 {
57         target.path = /opt/usr/bin
58     } else {
59         target.path = /usr/local/bin
60     }
61     INSTALLS += target
62 }
63
64 unix:!symbian {
65     desktopfile.files = $${TARGET}.desktop
66     maemo5 {
67         desktopfile.path = /usr/share/applications/hildon
68     } else {
69         desktopfile.path = /usr/share/applications
70     }
71     INSTALLS += desktopfile
72 }
73
74 unix:!symbian {
75     css.files = resources/$${TARGET}.css resources/arrivals.css resources/departures.css
76     i18n.files = $$replace(TRANSLATIONS, .ts, .qm)
77     maemo5 {
78         i18n.path = /opt/usr/share/apps/$${TARGET}/i18n
79         css.path = /opt/usr/share/apps/$${TARGET}/css
80     } else {
81         i18n.path = /usr/share/apps/$${TARGET}/i18n
82         css.path = /usr/share/apps/$${TARGET}/css
83     }
84     icon48.files = icons/48x48/$${TARGET}.png
85     icon64.files = icons/64x64/$${TARGET}.png
86     icon48.path = /usr/share/icons/hicolor/48x48/apps
87     icon64.path = /usr/share/icons/hicolor/64x64/apps
88     INSTALLS += icon48
89     INSTALLS += icon64
90     INSTALLS += css
91     INSTALLS += i18n
92 }