summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/serviceframework/serviceframework.pro
blob: 6bb4d75788799e529ccbfc86a2df038366611703 (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
include(../../../features/utils.pri)

INCLUDEPATH += ../../../src/serviceframework
INCLUDEPATH += ../../../src/global
INCLUDEPATH += .

TEMPLATE = lib
CONFIG += qt plugin
TARGET  = $$mobilityPluginTarget(declarative_serviceframework)
TARGETPATH = QtMobility/serviceframework
PLUGIN_TYPE = declarative
include(../../../common.pri)

QT += declarative

HEADERS += qdeclarativeservice_p.h

SOURCES += qdeclarativeservice.cpp \
           serviceframework.cpp 

CONFIG += mobility
MOBILITY += serviceframework

target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH

qmldir.files += $$PWD/qmldir
qmldir.path +=  $$[QT_INSTALL_IMPORTS]/$$TARGETPATH

INSTALLS += qmldir

symbian {
    TARGET.EPOCALLOWDLLDATA=1
    TARGET.CAPABILITY = All -Tcb
    TARGET.UID3 = $$mobilityUID(0x20021323)
    load(armcc_warnings)
    # Specifies what files shall be deployed: the plugin itself and the qmldir file.
    importFiles.sources = $$DESTDIR/declarative_serviceframework$${QT_LIBINFIX}.dll qmldir 
    importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
    DEPLOYMENT = importFiles
}