blob: 12f2a7606aee61fa41ba1dab19f3113769b2c4ba (
plain)
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
|
include(../../../features/utils.pri)
INCLUDEPATH += . \
../../../src/global \
../../../include \
../../../src/contacts \
../../../src/contacts/requests \
../../../src/contacts/details \
../../../src/contacts/filters \
../../../src/versit
DEPENDPATH += ../../../src/contacts
TEMPLATE = lib
CONFIG += plugin
TARGET = $$mobilityPluginTarget(declarative_contacts)
TARGETPATH = QtMobility/contacts
DEFINES += QT_MAKEDLL
PLUGIN_TYPE = declarative
include(../../../common.pri)
include(details/details.pri)
include(filters/filters.pri)
# support headers/sources for dynamic properties
include(../common/dynamicproperties.pri)
QT += declarative script network
CONFIG += mobility
MOBILITY = contacts versit
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
qmldir.files += $$PWD/qmldir
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
# Input
HEADERS += qdeclarativecontactmodel_p.h \
qdeclarativecontact_p.h \
qdeclarativecontactdetail_p.h \
qdeclarativecontactfilter_p.h \
qdeclarativecontactmetaobject_p.h \
qdeclarativecontactimageprovider_p.h \
qdeclarativecontactsortorder_p.h \
qdeclarativecontactfetchhint_p.h \
qdeclarativecontactrelationship_p.h \
qdeclarativecontactrelationshipmodel_p.h
SOURCES += plugin.cpp \
qdeclarativecontactmodel.cpp \
qdeclarativecontact.cpp \
qdeclarativecontactdetail.cpp \
qdeclarativecontactfilter.cpp \
qdeclarativecontactmetaobject.cpp \
qdeclarativecontactimageprovider.cpp \
qdeclarativecontactsortorder.cpp \
qdeclarativecontactfetchhint.cpp \
qdeclarativecontactrelationship.cpp \
qdeclarativecontactrelationshipmodel.cpp
RESOURCES += contacts.qrc
INSTALLS += qmldir
symbian {
# In Symbian, a library should enjoy _largest_ possible capability set.
TARGET.CAPABILITY = ALL -TCB
# Allow writable DLL data
TARGET.EPOCALLOWDLLDATA = 1
# Target UID, makes every Symbian app unique
TARGET.UID3 = $$mobilityUID(0x20021325)
# Specifies what files shall be deployed: the plugin itself and the qmldir file.
importFiles.sources = $$DESTDIR/declarative_contacts$${QT_LIBINFIX}.dll qmldir
importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
DEPLOYMENT = importFiles
}
|