RESOURCES += affine.qrc
# install
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/affine
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html *.jpg
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/affine
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/affine
INSTALLS += target sources
-symbian: CONFIG += qt_demo
+symbian {
+ CONFIG += qt_example
+}
+
+maemo5: CONFIG += qt_example
wince*: {
DEPLOYMENT_PLUGIN += qjpeg
TEMPLATE = subdirs
SUBDIRS = basicdrawing \
concentriccircles \
+ examples_affine \
+ painting_shared \
imagecomposition \
painterpaths \
transformations \
symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example
+
+examples_affine.subdir = affine
+painting_shared.subdir = shared
+
+!ordered {
+ examples_affine.depends = painting_shared
+ examples_deform.depends = painting_shared
+ examples_gradients.depends = painting_shared
+ examples_composition.depends = painting_shared
+ examples_arthurplugin.depends = painting_shared
+ examples_pathstroke.depends = painting_shared
+}
RESOURCES += shared.qrc
# install
-target.path = $$[QT_INSTALL_DEMOS]/qtbase/shared
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.pri images
-sources.path = $$[QT_INSTALL_DEMOS]/qtbase/shared
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/shared
INSTALLS += sources
!cross_compile:INSTALLS += target