summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/gallery/gallery.pro
blob: 4e015fd9882b3b38b898cf1c1e2be06360f9c67c (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
DEPENDPATH += .
INCLUDEPATH += . \
    ../../../include \
    ../../../src/gallery

TEMPLATE = lib
CONFIG += plugin
TARGET = $$qtLibraryTarget(declarative_gallery)
TARGETPATH = QtMobility/gallery

PLUGIN_TYPE = declarative

include(../../../common.pri)

QT += declarative script


CONFIG += mobility
MOBILITY = gallery

HEADERS += \
        qdeclarativedocumentgallery.h \
        qdeclarativegalleryfilter.h \
        qdeclarativegalleryitem.h \
        qdeclarativegalleryquerymodel.h \
        qdeclarativegallerytype.h

SOURCES += \
        qdeclarativedocumentgallery.cpp \
        qdeclarativegallery.cpp \
        qdeclarativegalleryfilter.cpp \
        qdeclarativegalleryitem.cpp \
        qdeclarativegalleryquerymodel.cpp \
        qdeclarativegallerytype.cpp

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 = 0x2002BFCC
    # Specifies what files shall be deployed: the plugin itself and the qmldir file.
    importFiles.sources = $$DESTDIR/declarative_gallery$${QT_LIBINFIX}.dll qmldir 
    importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
    DEPLOYMENT = importFiles
 }