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 <qt_sanity_bot@ovi.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
Casper van Donderen 2011-06-22 12:34:15 +02:00 committed by Qt by Nokia
parent 1fda23c0c6
commit d15d0b125b
3 changed files with 23 additions and 5 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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