diff options
Diffstat (limited to 'examples/quick/scenegraph')
4 files changed, 18 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/customgeometry/customgeometry.pro b/examples/quick/scenegraph/customgeometry/customgeometry.pro index 8657820493..d1271e16a5 100644 --- a/examples/quick/scenegraph/customgeometry/customgeometry.pro +++ b/examples/quick/scenegraph/customgeometry/customgeometry.pro @@ -8,3 +8,7 @@ SOURCES += \ HEADERS += \ beziercurve.h +sources.files = $$SOURCES $$HEADERS customgeometry.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph/customgeometry +target.path = $$sources.path +INSTALLS += sources target diff --git a/examples/quick/scenegraph/openglunderqml/openglunderqml.pro b/examples/quick/scenegraph/openglunderqml/openglunderqml.pro index 64a58b3729..f2ad3d0d85 100644 --- a/examples/quick/scenegraph/openglunderqml/openglunderqml.pro +++ b/examples/quick/scenegraph/openglunderqml/openglunderqml.pro @@ -4,3 +4,8 @@ HEADERS += squircle.h SOURCES += squircle.cpp main.cpp OTHER_FILES += main.qml + +sources.files = $$SOURCES $$HEADERS $$OTHER_FILES openglunderqml.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph/openglunderqml +target.path = $$sources.path +INSTALLS += sources target diff --git a/examples/quick/scenegraph/scenegraph.pro b/examples/quick/scenegraph/scenegraph.pro index 96ffbd4fa4..22506bcfeb 100644 --- a/examples/quick/scenegraph/scenegraph.pro +++ b/examples/quick/scenegraph/scenegraph.pro @@ -1,4 +1,7 @@ - TEMPLATE = subdirs SUBDIRS += customgeometry simplematerial openglunderqml +# install +sources.files = scenegraph.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph +INSTALLS += sources diff --git a/examples/quick/scenegraph/simplematerial/simplematerial.pro b/examples/quick/scenegraph/simplematerial/simplematerial.pro index 10dec9996b..d8a638ca06 100644 --- a/examples/quick/scenegraph/simplematerial/simplematerial.pro +++ b/examples/quick/scenegraph/simplematerial/simplematerial.pro @@ -6,3 +6,8 @@ SOURCES += \ OTHER_FILES += \ test.qml + +sources.files = $$SOURCES $$OTHER_FILES simplematerial.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph/simplematerial +target.path = $$sources.path +INSTALLS += sources target |