blob: 4d98fdfc7ec51f2d916249048feb16c8e0c1460e (
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
|
include(../../../features/utils.pri)
INCLUDEPATH += ../../../src/systeminfo
DEPENDPATH += ../../../src/systeminfo
INCLUDEPATH += ../../../src/global
TEMPLATE = lib
CONFIG += plugin
TARGET = $$mobilityPluginTarget(declarative_systeminfo)
TARGETPATH = QtMobility/systeminfo
PLUGIN_TYPE = declarative
include(../../../common.pri)
QT += declarative
SOURCES += systeminfo.cpp \
qdeclarativenetworkinfo.cpp \
qdeclarativescreensaver.cpp \
qdeclarativedeviceinfo.cpp \
qdeclarativegeneralinfo.cpp \
qdeclarativebatteryinfo.cpp \
qdeclarativealignedtimer.cpp \
qdeclarativedisplayinfo.cpp
HEADERS += \
qdeclarativenetworkinfo_p.h \
qdeclarativescreensaver_p.h \
qdeclarativedeviceinfo_p.h \
qdeclarativegeneralinfo_p.h \
qdeclarativebatteryinfo_p.h \
qdeclarativealignedtimer_p.h \
qdeclarativedisplayinfo_p.h
CONFIG += mobility
MOBILITY += systeminfo
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
qmldir.files += $$PWD/qmldir
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
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(0x200315F9)
# Specifies what files shall be deployed: the plugin itself and the qmldir file.
importFiles.sources = $$DESTDIR/declarative_systeminfo$${QT_LIBINFIX}.dll qmldir
importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
DEPLOYMENT = importFiles
}
|