Add the painting demos-examples to build.

Change-Id: Ia6f23719af0ec3091573909b5666ec795ee22410
Reviewed-on: http://codereview.qt.nokia.com/685
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-23 16:46:25 +02:00 committed by Qt by Nokia
parent d15d0b125b
commit 89459bc7cf
5 changed files with 20 additions and 13 deletions

View File

@ -12,12 +12,12 @@ contains(QT_CONFIG, opengl) {
} }
# install # install
target.path = $$[QT_INSTALL_DEMOS]/qtbase/composition target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html sources.files = $$SOURCES $$HEADERS $$RESOURCES *.png *.jpg *.pro *.html
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/composition sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/composition
INSTALLS += target sources INSTALLS += target sources
symbian: CONFIG += qt_demo symbian: CONFIG += qt_example
win32-msvc* { win32-msvc* {
QMAKE_CXXFLAGS += /Zm500 QMAKE_CXXFLAGS += /Zm500

View File

@ -13,12 +13,12 @@ contains(QT_CONFIG, opengl) {
} }
# install # install
target.path = $$[QT_INSTALL_DEMOS]/qtbase/deform target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/deform
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/deform sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/deform
INSTALLS += target sources INSTALLS += target sources
symbian { symbian {
TARGET.UID3 = 0xA000A63D TARGET.UID3 = 0xA000A63D
CONFIG += qt_demo CONFIG += qt_example
} }

View File

@ -12,9 +12,9 @@ contains(QT_CONFIG, opengl) {
} }
# install # install
target.path = $$[QT_INSTALL_DEMOS]/qtbase/gradients target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/gradients sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/gradients
INSTALLS += target sources INSTALLS += target sources
symbian: CONFIG += qt_demo symbian: CONFIG += qt_example

View File

@ -2,6 +2,10 @@ TEMPLATE = subdirs
SUBDIRS = basicdrawing \ SUBDIRS = basicdrawing \
concentriccircles \ concentriccircles \
examples_affine \ examples_affine \
examples_composition \
examples_deform \
examples_gradients \
examples_pathstroke \
painting_shared \ painting_shared \
imagecomposition \ imagecomposition \
painterpaths \ painterpaths \
@ -18,6 +22,10 @@ symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example maemo5: CONFIG += qt_example
examples_affine.subdir = affine examples_affine.subdir = affine
examples_composition.subdir = composition
examples_deform.subdir = deform
examples_gradients.subdir = gradients
examples_pathstroke.subdir = pathstroke
painting_shared.subdir = shared painting_shared.subdir = shared
!ordered { !ordered {
@ -25,6 +33,5 @@ painting_shared.subdir = shared
examples_deform.depends = painting_shared examples_deform.depends = painting_shared
examples_gradients.depends = painting_shared examples_gradients.depends = painting_shared
examples_composition.depends = painting_shared examples_composition.depends = painting_shared
examples_arthurplugin.depends = painting_shared
examples_pathstroke.depends = painting_shared examples_pathstroke.depends = painting_shared
} }

View File

@ -13,12 +13,12 @@ contains(QT_CONFIG, opengl) {
} }
# install # install
target.path = $$[QT_INSTALL_DEMOS]/qtbase/pathstroke target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/pathstroke
sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.html
sources.path = $$[QT_INSTALL_DEMOS]/qtbase/pathstroke sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/pathstroke
INSTALLS += target sources INSTALLS += target sources
symbian { symbian {
TARGET.UID3 = 0xA000A63E TARGET.UID3 = 0xA000A63E
CONFIG += qt_demo CONFIG += qt_example
} }