From d15d0b125b11f279ff8a46f32939471fc80f6c38 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Wed, 22 Jun 2011 12:34:15 +0200 Subject: Add the shared painting and affine example to the build. Change-Id: I85e66c9a33a1c908b7588beb219cc9540698ab68 Reviewed-on: http://codereview.qt.nokia.com/623 Reviewed-by: Qt Sanity Bot Reviewed-by: Casper van Donderen --- examples/painting/affine/affine.pro | 10 +++++++--- examples/painting/painting.pro | 14 ++++++++++++++ examples/painting/shared/shared.pro | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/examples/painting/affine/affine.pro b/examples/painting/affine/affine.pro index a3d6e30ad1..817e5829c2 100644 --- a/examples/painting/affine/affine.pro +++ b/examples/painting/affine/affine.pro @@ -13,12 +13,16 @@ include($$SHARED_FOLDER/shared.pri) 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 diff --git a/examples/painting/painting.pro b/examples/painting/painting.pro index 41f91822c4..1a0bda780b 100644 --- a/examples/painting/painting.pro +++ b/examples/painting/painting.pro @@ -1,6 +1,8 @@ TEMPLATE = subdirs SUBDIRS = basicdrawing \ concentriccircles \ + examples_affine \ + painting_shared \ imagecomposition \ painterpaths \ transformations \ @@ -14,3 +16,15 @@ INSTALLS += target sources 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 +} diff --git a/examples/painting/shared/shared.pro b/examples/painting/shared/shared.pro index 88d7fbedab..e996956880 100644 --- a/examples/painting/shared/shared.pro +++ b/examples/painting/shared/shared.pro @@ -26,9 +26,9 @@ HEADERS += \ 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 -- cgit v1.2.3