This repository has been archived by the owner on Apr 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
cordovaqt.pro
104 lines (90 loc) · 2.77 KB
/
cordovaqt.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Add files and directories to ship with the application
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
wwwDir.source = www
xmlDir.source = xml
qmlDir.source = qml
DEPLOYMENTFOLDERS = wwwDir xmlDir qmlDir# file1 dir1
SOURCES += main.cpp \
src/plugins/notification.cpp \
src/plugins/geolocation.cpp \
src/plugins/fileapi.cpp \
src/plugins/device.cpp \
src/pluginregistry.cpp \
src/plugins/console.cpp \
src/plugins/connection.cpp \
src/plugins/compass.cpp \
src/plugins/accelerometer.cpp \
src/plugins/events.cpp \
src/cordova.cpp \
src/cplugin.cpp \
src/plugins/contacts.cpp \
src/plugins/camera.cpp
# src/plugins/media.cpp
HEADERS += \
src/plugins/notification.h \
src/plugins/geolocation.h \
src/plugins/fileapi.h \
src/plugins/device.h \
src/pluginregistry.h \
src/plugins/console.h \
src/plugins/connection.h \
src/plugins/compass.h \
src/plugins/accelerometer.h \
src/plugins/events.h \
src/cordova.h \
src/cplugin.h \
src/plugins/contacts.h \
src/plugins/camera.h \
src/plugins/cameraresolution.h
#src/plugins/media.h
greaterThan(QT_MAJOR_VERSION, 4) {
message("Qt5 build")
QT += widgets
QT += location
QT += sensors
QT += feedback
QT += systeminfo
QT += contacts
QT += multimedia
QT += quick declarative
OTHER_FILES += qml/main_qt5.qml \
qml/main_harmattan_qt5.qml \
qml/cordova_wrapper.js
} else:!isEmpty(MEEGO_VERSION_MAJOR) {
message("Qt4 build")
message("Harmattan build")
OTHER_FILES += \
qml/cordova_wrapper.js
QT += declarative dbus
QT += webkit
CONFIG += mobility qdeclarative-boostable
MOBILITY += feedback location systeminfo sensors multimedia contacts
} else {
message("Qt4 build")
message("Non-harmattan build")
OTHER_FILES += qml/main.qml \
qml/cordova_wrapper.js
symbian:TARGET.UID3 = 0xE3522943
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
symbian:TARGET.CAPABILITY += NetworkServices UserEnvironment ReadUserData WriteUserData
symbian:{LIBS += -lecam -lServiceHandler -lbafl}
QT += declarative
QT += webkit
CONFIG += mobility
MOBILITY += feedback location systeminfo sensors multimedia contacts
}
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/manifest.aegis \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
qml/main_qt4.qml \
qml/main.qml