summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorartoka <arto.katajasalo@digia.com>2011-11-17 14:49:57 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-11-17 14:59:23 (GMT)
commit643da502885bb3ad4cd0fd7f0e4d08edba598c96 (patch)
tree473c6f694518695d8bfa2f1828eefcac4fe00812 /examples
parent63ff83ae514b57258d27f3b401093328cf10fbb0 (diff)
downloadQt-643da502885bb3ad4cd0fd7f0e4d08edba598c96.zip
Qt-643da502885bb3ad4cd0fd7f0e4d08edba598c96.tar.gz
Qt-643da502885bb3ad4cd0fd7f0e4d08edba598c96.tar.bz2
shadereffects example modifications
Modified the example to use centralized qmlapplicationviewer, removed duplicate files and modified project files according to the changes. Merge-request: 2719 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/declarative/shadereffects/main.cpp19
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/Curtain.qml (renamed from examples/declarative/shadereffects/qml/Curtain.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/CurtainEffect.qml (renamed from examples/declarative/shadereffects/qml/CurtainEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/DropShadow.qml (renamed from examples/declarative/shadereffects/qml/DropShadow.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/DropShadowEffect.qml (renamed from examples/declarative/shadereffects/qml/DropShadowEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/Grayscale.qml (renamed from examples/declarative/shadereffects/qml/Grayscale.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/GrayscaleEffect.qml (renamed from examples/declarative/shadereffects/qml/GrayscaleEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/ImageMask.qml (renamed from examples/declarative/shadereffects/qml/ImageMask.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/ImageMaskEffect.qml (renamed from examples/declarative/shadereffects/qml/ImageMaskEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/RadialWave.qml (renamed from examples/declarative/shadereffects/qml/RadialWave.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/RadialWaveEffect.qml (renamed from examples/declarative/shadereffects/qml/RadialWaveEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/Water.qml (renamed from examples/declarative/shadereffects/qml/Water.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/WaterEffect.qml (renamed from examples/declarative/shadereffects/qml/WaterEffect.qml)0
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/Curtain.jpg (renamed from examples/declarative/shadereffects/qml/images/Curtain.jpg)bin16112 -> 16112 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/DropShadow.jpg (renamed from examples/declarative/shadereffects/qml/images/DropShadow.jpg)bin12975 -> 12975 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/Grayscale.jpg (renamed from examples/declarative/shadereffects/qml/images/Grayscale.jpg)bin19048 -> 19048 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/ImageMask.jpg (renamed from examples/declarative/shadereffects/qml/images/ImageMask.jpg)bin18751 -> 18751 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/RadialWave.jpg (renamed from examples/declarative/shadereffects/qml/images/RadialWave.jpg)bin41406 -> 41406 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/Water.jpg (renamed from examples/declarative/shadereffects/qml/images/Water.jpg)bin17751 -> 17751 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/back.png (renamed from examples/declarative/shadereffects/qml/images/back.png)bin370 -> 370 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/bg.jpg (renamed from examples/declarative/shadereffects/qml/images/bg.jpg)bin10189 -> 10189 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/desaturate.jpg (renamed from examples/declarative/shadereffects/qml/images/desaturate.jpg)bin203942 -> 203942 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/drop_shadow.png (renamed from examples/declarative/shadereffects/qml/images/drop_shadow.png)bin219220 -> 219220 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/fabric.jpg (renamed from examples/declarative/shadereffects/qml/images/fabric.jpg)bin163431 -> 163431 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/flower.png (renamed from examples/declarative/shadereffects/qml/images/flower.png)bin219220 -> 219220 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/image1.jpg (renamed from examples/declarative/shadereffects/qml/images/image1.jpg)bin115770 -> 115770 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/image2.jpg (renamed from examples/declarative/shadereffects/qml/images/image2.jpg)bin45837 -> 45837 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/qt-logo.png (renamed from examples/declarative/shadereffects/qml/images/qt-logo.png)bin22746 -> 22746 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/shader_effects.jpg (renamed from examples/declarative/shadereffects/qml/images/shader_effects.jpg)bin4906 -> 4906 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/sky.jpg (renamed from examples/declarative/shadereffects/qml/images/sky.jpg)bin36734 -> 36734 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/toolbar.png (renamed from examples/declarative/shadereffects/qml/images/toolbar.png)bin342 -> 342 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/images/wave.jpg (renamed from examples/declarative/shadereffects/qml/images/wave.jpg)bin176681 -> 176681 bytes
-rw-r--r--[-rwxr-xr-x]examples/declarative/shadereffects/qml/shadereffects/main.qml (renamed from examples/declarative/shadereffects/qml/main.qml)0
-rwxr-xr-xexamples/declarative/shadereffects/shadereffects.pro48
-rw-r--r--examples/declarative/shadereffects/shadereffects.qmlproject16
35 files changed, 61 insertions, 22 deletions
diff --git a/examples/declarative/shadereffects/main.cpp b/examples/declarative/shadereffects/main.cpp
index c284b99..e191bfa 100755
--- a/examples/declarative/shadereffects/main.cpp
+++ b/examples/declarative/shadereffects/main.cpp
@@ -39,6 +39,7 @@
**
****************************************************************************/
+#include "qmlapplicationviewer.h"
#include <QtGui/QApplication>
#include <QtOpenGL>
#include <QDeclarativeView>
@@ -53,7 +54,7 @@ int main(int argc, char *argv[])
#endif
QApplication app(argc, argv);
- QDeclarativeView view;
+ QmlApplicationViewer viewer;
#ifndef SHADEREFFECTS_USE_OPENGL_GRAPHICSSYSTEM
QGLFormat format = QGLFormat::defaultFormat();
@@ -61,16 +62,16 @@ int main(int argc, char *argv[])
format.setSwapInterval(1);
QGLWidget* glWidget = new QGLWidget(format);
glWidget->setAutoFillBackground(false);
- view.setViewport(glWidget);
+ viewer.setViewport(glWidget);
#endif
- view.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
- view.setAttribute(Qt::WA_OpaquePaintEvent);
- view.setAttribute(Qt::WA_NoSystemBackground);
- view.setSource(QUrl::fromLocalFile(QLatin1String("qml/main.qml")));
- QObject::connect(view.engine(), SIGNAL(quit()), &view, SLOT(close()));
-
- view.show();
+ viewer.setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
+ viewer.setAttribute(Qt::WA_OpaquePaintEvent);
+ viewer.setAttribute(Qt::WA_NoSystemBackground);
+ viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
+ viewer.setMainQmlFile(QLatin1String("qml/shadereffects/main.qml"));
+ QObject::connect(viewer.engine(), SIGNAL(quit()), &viewer, SLOT(close()));
+ viewer.showExpanded();
return app.exec();
}
diff --git a/examples/declarative/shadereffects/qml/Curtain.qml b/examples/declarative/shadereffects/qml/shadereffects/Curtain.qml
index 03ac0e9..03ac0e9 100755..100644
--- a/examples/declarative/shadereffects/qml/Curtain.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/Curtain.qml
diff --git a/examples/declarative/shadereffects/qml/CurtainEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/CurtainEffect.qml
index c33cce4..c33cce4 100755..100644
--- a/examples/declarative/shadereffects/qml/CurtainEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/CurtainEffect.qml
diff --git a/examples/declarative/shadereffects/qml/DropShadow.qml b/examples/declarative/shadereffects/qml/shadereffects/DropShadow.qml
index 442fb38..442fb38 100755..100644
--- a/examples/declarative/shadereffects/qml/DropShadow.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/DropShadow.qml
diff --git a/examples/declarative/shadereffects/qml/DropShadowEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/DropShadowEffect.qml
index 71b6ac9..71b6ac9 100755..100644
--- a/examples/declarative/shadereffects/qml/DropShadowEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/DropShadowEffect.qml
diff --git a/examples/declarative/shadereffects/qml/Grayscale.qml b/examples/declarative/shadereffects/qml/shadereffects/Grayscale.qml
index 58c94fc..58c94fc 100755..100644
--- a/examples/declarative/shadereffects/qml/Grayscale.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/Grayscale.qml
diff --git a/examples/declarative/shadereffects/qml/GrayscaleEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/GrayscaleEffect.qml
index 0343893..0343893 100755..100644
--- a/examples/declarative/shadereffects/qml/GrayscaleEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/GrayscaleEffect.qml
diff --git a/examples/declarative/shadereffects/qml/ImageMask.qml b/examples/declarative/shadereffects/qml/shadereffects/ImageMask.qml
index 068696e..068696e 100755..100644
--- a/examples/declarative/shadereffects/qml/ImageMask.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/ImageMask.qml
diff --git a/examples/declarative/shadereffects/qml/ImageMaskEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/ImageMaskEffect.qml
index e4dddf4..e4dddf4 100755..100644
--- a/examples/declarative/shadereffects/qml/ImageMaskEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/ImageMaskEffect.qml
diff --git a/examples/declarative/shadereffects/qml/RadialWave.qml b/examples/declarative/shadereffects/qml/shadereffects/RadialWave.qml
index 5aaac9e..5aaac9e 100755..100644
--- a/examples/declarative/shadereffects/qml/RadialWave.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/RadialWave.qml
diff --git a/examples/declarative/shadereffects/qml/RadialWaveEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/RadialWaveEffect.qml
index 82a15a8..82a15a8 100755..100644
--- a/examples/declarative/shadereffects/qml/RadialWaveEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/RadialWaveEffect.qml
diff --git a/examples/declarative/shadereffects/qml/Water.qml b/examples/declarative/shadereffects/qml/shadereffects/Water.qml
index 8810161..8810161 100755..100644
--- a/examples/declarative/shadereffects/qml/Water.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/Water.qml
diff --git a/examples/declarative/shadereffects/qml/WaterEffect.qml b/examples/declarative/shadereffects/qml/shadereffects/WaterEffect.qml
index e2fee5c..e2fee5c 100755..100644
--- a/examples/declarative/shadereffects/qml/WaterEffect.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/WaterEffect.qml
diff --git a/examples/declarative/shadereffects/qml/images/Curtain.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/Curtain.jpg
index 40003cb..40003cb 100755..100644
--- a/examples/declarative/shadereffects/qml/images/Curtain.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/Curtain.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/DropShadow.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/DropShadow.jpg
index c1e693a..c1e693a 100755..100644
--- a/examples/declarative/shadereffects/qml/images/DropShadow.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/DropShadow.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/Grayscale.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/Grayscale.jpg
index c95cab4..c95cab4 100755..100644
--- a/examples/declarative/shadereffects/qml/images/Grayscale.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/Grayscale.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/ImageMask.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/ImageMask.jpg
index 0da4c0d..0da4c0d 100755..100644
--- a/examples/declarative/shadereffects/qml/images/ImageMask.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/ImageMask.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/RadialWave.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/RadialWave.jpg
index fc51efc..fc51efc 100755..100644
--- a/examples/declarative/shadereffects/qml/images/RadialWave.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/RadialWave.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/Water.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/Water.jpg
index 38615c1..38615c1 100755..100644
--- a/examples/declarative/shadereffects/qml/images/Water.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/Water.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/back.png b/examples/declarative/shadereffects/qml/shadereffects/images/back.png
index 5dd3d22..5dd3d22 100755..100644
--- a/examples/declarative/shadereffects/qml/images/back.png
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/back.png
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/bg.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/bg.jpg
index 4d22143..4d22143 100755..100644
--- a/examples/declarative/shadereffects/qml/images/bg.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/bg.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/desaturate.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/desaturate.jpg
index e5e99bb..e5e99bb 100755..100644
--- a/examples/declarative/shadereffects/qml/images/desaturate.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/desaturate.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/drop_shadow.png b/examples/declarative/shadereffects/qml/shadereffects/images/drop_shadow.png
index 144c02d..144c02d 100755..100644
--- a/examples/declarative/shadereffects/qml/images/drop_shadow.png
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/drop_shadow.png
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/fabric.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/fabric.jpg
index ab65409..ab65409 100755..100644
--- a/examples/declarative/shadereffects/qml/images/fabric.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/fabric.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/flower.png b/examples/declarative/shadereffects/qml/shadereffects/images/flower.png
index 144c02d..144c02d 100755..100644
--- a/examples/declarative/shadereffects/qml/images/flower.png
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/flower.png
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/image1.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/image1.jpg
index 3442e77..3442e77 100755..100644
--- a/examples/declarative/shadereffects/qml/images/image1.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/image1.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/image2.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/image2.jpg
index 23e5c5c..23e5c5c 100755..100644
--- a/examples/declarative/shadereffects/qml/images/image2.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/image2.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/qt-logo.png b/examples/declarative/shadereffects/qml/shadereffects/images/qt-logo.png
index 41a304b..41a304b 100755..100644
--- a/examples/declarative/shadereffects/qml/images/qt-logo.png
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/qt-logo.png
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/shader_effects.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/shader_effects.jpg
index 19e8a39..19e8a39 100755..100644
--- a/examples/declarative/shadereffects/qml/images/shader_effects.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/shader_effects.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/sky.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/sky.jpg
index 8fc19ed..8fc19ed 100755..100644
--- a/examples/declarative/shadereffects/qml/images/sky.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/sky.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/toolbar.png b/examples/declarative/shadereffects/qml/shadereffects/images/toolbar.png
index 773e3ea..773e3ea 100755..100644
--- a/examples/declarative/shadereffects/qml/images/toolbar.png
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/toolbar.png
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/images/wave.jpg b/examples/declarative/shadereffects/qml/shadereffects/images/wave.jpg
index c8083bb..c8083bb 100755..100644
--- a/examples/declarative/shadereffects/qml/images/wave.jpg
+++ b/examples/declarative/shadereffects/qml/shadereffects/images/wave.jpg
Binary files differ
diff --git a/examples/declarative/shadereffects/qml/main.qml b/examples/declarative/shadereffects/qml/shadereffects/main.qml
index f38424a..f38424a 100755..100644
--- a/examples/declarative/shadereffects/qml/main.qml
+++ b/examples/declarative/shadereffects/qml/shadereffects/main.qml
diff --git a/examples/declarative/shadereffects/shadereffects.pro b/examples/declarative/shadereffects/shadereffects.pro
index 1107887..23a951c 100755
--- a/examples/declarative/shadereffects/shadereffects.pro
+++ b/examples/declarative/shadereffects/shadereffects.pro
@@ -1,21 +1,43 @@
-TEMPLATE = app
-TARGET = shadereffects
-DEPENDPATH += .
-INCLUDEPATH += .
+# Add more folders to ship with the application, here
+folder_01.source = qml/shadereffects
+folder_01.target = qml
+DEPLOYMENTFOLDERS = folder_01
+
+# Additional import path used to resolve QML modules in Creator's code model
+QML_IMPORT_PATH =
+
+symbian:TARGET.UID3 = 0xE1CB8EBB
+
+# Smart Installer package's UID
+# This UID is from the protected range and therefore the package will
+# fail to install if self-signed. By default qmake uses the unprotected
+# range value if unprotected UID is defined for the application and
+# 0x2002CCCF value if protected UID is given to the application
+#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
+
+# Allow network access on Symbian
+symbian:TARGET.CAPABILITY += NetworkServices
+
+# If your application uses the Qt Mobility libraries, uncomment the following
+# lines and add the respective components to the MOBILITY variable.
+# CONFIG += mobility
+# MOBILITY +=
+
+# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
+# CONFIG += qdeclarative-boostable
+
+# Add dependency to Symbian components
+# CONFIG += qt-components
+
QT += declarative opengl
-# Input
+# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
symbian {
DEFINES += SHADEREFFECTS_USE_OPENGL_GRAPHICSSYSTEM
}
-
-target.path = $$[QT_INSTALL_EXAMPLES]/declarative/shadereffects
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS shadereffects.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/declarative/shadereffects
-qmlfiles.files = qml
-qmlfiles.path = $$[QT_INSTALL_EXAMPLES]/declarative/shadereffects
-
-INSTALLS += target sources qmlfiles
+# Please do not modify the following two lines. Required for deployment.
+include(../../tools/qmlapplicationviewer/qmlapplicationviewer.pri)
+qtcAddDeployment()
diff --git a/examples/declarative/shadereffects/shadereffects.qmlproject b/examples/declarative/shadereffects/shadereffects.qmlproject
new file mode 100644
index 0000000..112be81
--- /dev/null
+++ b/examples/declarative/shadereffects/shadereffects.qmlproject
@@ -0,0 +1,16 @@
+import QmlProject 1.0
+
+Project {
+ /* Include .qml, .js, and image files from current directory and subdirectories */
+ QmlFiles {
+ directory: "qml/shadereffects"
+ }
+ JavaScriptFiles {
+ directory: "qml/shadereffects"
+ }
+ ImageFiles {
+ directory: "qml/shadereffects"
+ }
+ /* List of plugin directories passed to QML runtime */
+ // importPaths: [ " ../exampleplugin " ]
+} \ No newline at end of file