summaryrefslogtreecommitdiffstats
path: root/examples/declarative/cppextensions/imageprovider/imageprovider.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/cppextensions/imageprovider/imageprovider.pro')
-rw-r--r--examples/declarative/cppextensions/imageprovider/imageprovider.pro18
1 files changed, 11 insertions, 7 deletions
diff --git a/examples/declarative/cppextensions/imageprovider/imageprovider.pro b/examples/declarative/cppextensions/imageprovider/imageprovider.pro
index 945a301..f218c30 100644
--- a/examples/declarative/cppextensions/imageprovider/imageprovider.pro
+++ b/examples/declarative/cppextensions/imageprovider/imageprovider.pro
@@ -1,12 +1,10 @@
TEMPLATE = lib
-TARGET = imageprovider
-QT += declarative
CONFIG += qt plugin
+QT += declarative
-TARGET = $$qtLibraryTarget($$TARGET)
DESTDIR = ImageProviderCore
+TARGET = qmlimageproviderplugin
-# Input
SOURCES += imageprovider.cpp
sources.files = $$SOURCES imageprovider.qml imageprovider.pro
@@ -18,8 +16,14 @@ ImageProviderCore_sources.files = \
ImageProviderCore/qmldir
ImageProviderCore_sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/imageprovider/ImageProviderCore
+INSTALLS = sources ImageProviderCore_sources target
+
symbian:{
- TARGET.EPOCALLOWDLLDATA=1
-}
+ load(data_caging_paths)
+ include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
+ TARGET.EPOCALLOWDLLDATA = 1
-INSTALLS = sources ImageProviderCore_sources target
+ importFiles.sources = qmlimageproviderplugin.dll ImageProviderCore/qmldir
+ importFiles.path = ImageProviderCore
+ DEPLOYMENT = importFiles
+}