- "error" popup for geocoding changed to be more descriptive
[meegopas:meegopas.git] / Meegopas.pro
1 # Add more folders to ship with the application, here
2 harmattan_qml.source = qml/harmattan
3 harmattan_qml.target = qml
4 symbian_qml.source = qml/symbian
5 symbian_qml.target = qml
6 common_qml.source = qml/common
7 common_qml.target = qml
8 images.source = images
9 loc.source = i18n
10 DEPLOYMENTFOLDERS = common_qml images loc
11
12 # Additional import path used to resolve QML modules in Creator's code model
13 QML_IMPORT_PATH = qml/common qml/symbian qml/harmattan qml
14
15 symbian {
16     TARGET.UID3 = 0x2004bf5e
17     DEPLOYMENTFOLDERS += symbian_qml
18     # Smart Installer package's UID
19     # This UID is from the protected range and therefore the package will
20     # fail to install if self-signed. By default qmake uses the unprotected
21     # range value if unprotected UID is defined for the application and
22     # 0x2002CCCF value if protected UID is given to the application
23     # DEPLOYMENT.installer_header = 0x2002CCCF
24     DEPLOYMENT.installer_header = 0x2002CCCF
25
26     VERSION = 1.2.0
27
28     # Allow network access on Symbian
29     TARGET.CAPABILITY += NetworkServices Location
30
31     vendorinfo = "%{\"JukkaNousiainen\"}" ":\"JukkaNousiainen\""
32
33     my_deployment.pkg_prerules = vendorinfo
34     my_deployment.pkg_prerules += "(0x200346de), 1, 1, 0, {\"Qt Quick components for Symbian\"}"
35
36     DEPLOYMENT += my_deployment
37
38     CONFIG += qt-components
39
40     RESOURCES += \
41         symbian.qrc
42 }
43
44 contains(MEEGO_EDITION, harmattan) {
45     # add harmattan specific qml
46     DEPLOYMENTFOLDERS += harmattan_qml
47
48     # Speed up launching on MeeGo/Harmattan when using applauncherd daemon
49     CONFIG += qdeclarative-boostable
50
51     # for MLocale
52     CONFIG += meegotouch
53
54     # D-Bus service
55     dbusservice.path = /usr/share/dbus-1/services
56     dbusservice.files = com.juknousi.meegopas.service
57     dbusinterface.path = /usr/share/dbus-1/interfaces
58     dbusinterface.files = com.juknousi.meegopas.xml
59     INSTALLS += dbusservice dbusinterface
60
61     # splash screen
62     splash.files = splash.png splash-l.png
63     splash.path = /usr/share/$${TARGET}/
64     INSTALLS += splash
65
66     OTHER_FILES += \
67         qtc_packaging/debian_harmattan/rules \
68         qtc_packaging/debian_harmattan/README \
69         qtc_packaging/debian_harmattan/manifest.aegis \
70         qtc_packaging/debian_harmattan/copyright \
71         qtc_packaging/debian_harmattan/control \
72         qtc_packaging/debian_harmattan/compat \
73         qtc_packaging/debian_harmattan/changelog
74
75     RESOURCES += \
76         harmattan.qrc
77
78     SOURCES += \
79         src/shortcut.cpp \
80         src/route.cpp \
81         src/meegopasadaptor.cpp
82
83
84     HEADERS += \
85         include/shortcut.h \
86         include/route.h \
87         include/meegopasadaptor.h
88 }
89
90 simulator {
91     DEPLOYMENTFOLDERS += symbian_qml
92
93     RESOURCES += \
94         symbian.qrc
95 }
96
97 # If your application uses the Qt Mobility libraries, uncomment the following
98 # lines and add the respective components to the MOBILITY variable.
99 CONFIG += mobility
100 MOBILITY += location systeminfo
101
102 # The .cpp file which was generated for your project. Feel free to hack it.
103 SOURCES += src/main.cpp
104
105 INCLUDEPATH += src \
106     include
107
108 # Please do not modify the following two lines. Required for deployment.
109 include(qmlapplicationviewer/qmlapplicationviewer.pri)
110 qtcAddDeployment()
111
112 TRANSLATIONS += meegopas_fi_FI.ts \
113                 meegopas_ru_RU.ts
114
115
116
117 OTHER_FILES += \
118     com.juknousi.meegopas.service \
119     com.juknousi.meegopas.xml \
120     Meegopas_harmattan.desktop
121
122 HEADERS +=
123
124
125
126
127
128
129
130
131
132