target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/calqlatr
qml.files = calqlatr.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/calqlatr
-INSTALLS += target qml
+sources.files = $$SOURCES calqlatr.pro
+sources.path = $$qml.path
+INSTALLS += target sources qml
tweetsearch \
maroon \
stocqt
+
+# install
+sources.files = demos.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos
+INSTALLS += sources
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/maroon
qml.files = maroon.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/maroon
-INSTALLS += target qml
+sources.files = $$SOURCES maroon.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/samegame
qml.files = samegame.qml content settings.js
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/samegame
-INSTALLS += target qml
+sources.files = $$SOURCES samegame.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/stocqt
qml.files = stocqt.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/stocqt
-INSTALLS += target qml
+sources.files = $$SOURCES stocqt.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/tweetsearch
qml.files = tweetsearch.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/demos/tweetsearch
-INSTALLS += target qml
+sources.files = $$SOURCES tweetsearch.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
tutorials \
window \
qmltest
+
+# install
+sources.files = shared examples.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/
+INSTALLS += sources
TEMPLATE = subdirs
SUBDIRS += localstorage
+
+# install
+sources.files = localstorage.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage
+INSTALLS += sources
QT += quick qml
SOURCES += main.cpp
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage/localstorage
qml.files = localstorage.qml hello.qml
-qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage
-INSTALLS += target qml
+qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage/localstorage
+sources.files = $$SOURCES localstorage.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/affectors
qml.files = affectors.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/affectors
-INSTALLS += target qml
-
+sources.files = $$SOURCES affectors.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/customparticle
qml.files = customparticle.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/customparticle
-INSTALLS += target qml
-
+sources.files = $$SOURCES customparticle.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/emitters
qml.files = emitters.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/emitters
-INSTALLS += target qml
-
+sources.files = $$SOURCES emitters.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/imageparticle
qml.files = imageparticle.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/imageparticle
-INSTALLS += target qml
-
+sources.files = $$SOURCES imageparticle.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
#Install shared images too
qml.files = images
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles
-INSTALLS = qml
+sources.files = particles.pro
+sources.path = $$qml.path
+INSTALLS = sources qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/system
qml.files = system.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/particles/system
-INSTALLS += target qml
-
+sources.files = $$SOURCES system.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
OTHER_FILES += imageprovider.json
-sources.files = $$SOURCES imageprovider.qml imageprovider.pro
+sources.files = $$SOURCES imageprovider.qml imageprovider.pro $$OTHER_FILES
sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/imageprovider
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/imageprovider/ImageProviderCore
ImageProviderCore_sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/imageprovider/ImageProviderCore
INSTALLS = sources ImageProviderCore_sources target
-
SOURCES += main.cpp
RESOURCES += networkaccessmanagerfactory.qrc
+
+sources.files = $$SOURCES $$RESOURCES networkaccessmanagerfactory.pro view.qml
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/networkaccessmanagerfactory
+target.path = $$sources.path
+
+INSTALLS = sources target
networkaccessmanagerfactory \
referenceexamples \
shell
+
+#Install
+sources.files = qml.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml
+INSTALLS += sources
HEADERS += person.h
RESOURCES += adding.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/adding
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS adding.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/adding
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/adding
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS adding.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += attached.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/attached
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS attached.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/attached
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/attached
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS attached.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
happybirthdaysong.h
RESOURCES += binding.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/binding
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS binding.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/binding
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/binding
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS binding.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += coercion.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/coercion
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS coercion.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/coercion
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/coercion
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS coercion.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += default.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/default
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS default.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/default
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/default
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS default.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
HEADERS += lineedit.h
RESOURCES += extended.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/extended
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extended.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/extended
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/extended
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extended.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += grouped.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/grouped
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS grouped.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/grouped
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/grouped
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS grouped.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += methods.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/methods
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS methods.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/methods
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/methods
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS methods.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
birthdayparty.h
RESOURCES += properties.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/properties
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS properties.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/properties
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/properties
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS properties.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
methods
!contains(QT_CONFIG, no-widgets): SUBDIRS += extended
+
+sources.files = referenceexamples.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples
+INSTALLS += sources
birthdayparty.h
RESOURCES += signal.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/signal
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS signal.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/signal
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/signal
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS signal.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
happybirthdaysong.h
RESOURCES += valuesource.qrc
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/valuesource
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS valuesource.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/extending/valuesource
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/referenceexamples/valuesource
+sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS valuesource.pro example.qml
+sources.path = $$target.path
INSTALLS += target sources
SOURCES += main.cpp
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qml/shell
+sources.files = $$SOURCES shell.pro
+sources.path = $$target.path
+INSTALLS += target sources
CONFIG += qmltestcase
SOURCES += tst_qmltest.cpp
-# Don't install by default
-CONFIG += no_testcase_installs
+# Note: Normally, tests are auto-installed to a test-specific directory. Overwritten here
+# so this one will end up in the examples tree.
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/qmltest
+sources.files = $$SOURCES qmltest.pro *.qml
+sources.path = $$target.path
+INSTALLS = sources target
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/accessibility
qml.files = accessibility.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/accessibility
-INSTALLS += target qml
-
+sources.files = $$SOURCES accessibility.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/animation
qml.files = animation.qml basics behaviors easing pathanimation pathinterpolator states
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/animation
-INSTALLS += target qml
+sources.files = $$SOURCES animation.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/canvas
qml.files = canvas.qml bezierCurve clip quadraticCurveTo roundedrect smile squircle tiger contents
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/canvas
-INSTALLS += target qml
\ No newline at end of file
+sources.files = $$SOURCES canvas.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
#spinner \
#tabwidget \
maskedmousearea
+
+# install
+sources.files = customitems.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/customitems
+INSTALLS += sources
SOURCES += main.cpp \
maskedmousearea.cpp
-target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/maskedmousearea
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/customitems/maskedmousearea
qml.files = maskedmousearea.qml images
-qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/maskedmousearea
-INSTALLS += target qml
-
+qml.path = $$target.path
+sources.files = $$SOURCES $$HEADERS maskedmousearea.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
DESTDIR = TextBalloonPlugin
+INSTALL_PATH = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/customitems/painteditem/
qdeclarativesources.files += \
- TextBalloonPlugin/qmldir
-
-qdeclarativesources.path += $$[QT_INSTALL_EXAMPLES]/qtquick/qml/painteditem/TextBalloonPlugin
-
-sources.files = textballoons.qml
-sources.path += $$[QT_INSTALL_EXAMPLES]/qtquick/qml/painteditem
-target.path += $$[QT_INSTALL_EXAMPLES]/qtquick/qml/painteditem/TextBalloonPlugin
+ TextBalloonPlugin/qmldir TextBalloonPlugin/plugin.h
+qdeclarativesources.path += $$INSTALL_PATH/TextBalloonPlugin
+sources.files = textballoons.qml $$SOURCES textballoon.h $$OTHER_FILES painteditem.pro
+sources.path = $$INSTALL_PATH
+target.path = $$INSTALL_PATH/TextBalloonPlugin
INSTALLS = qdeclarativesources sources target
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/draganddrop
qml.files = draganddrop.qml tiles views
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/draganddrop
-INSTALLS += target qml
-
+sources.files = $$SOURCES draganddrop.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/imageelements
qml.files = *.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/imageelements
-INSTALLS += target qml
-
+sources.files = $$SOURCES imageelements.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/keyinteraction
qml.files = keyinteraction.qml focus
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/keyinteraction
-INSTALLS += target qml
-
+sources.files = $$SOURCES keyinteraction.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
visualdatamodel \
visualitemmodel
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/modelviews
-INSTALLS += target qml
-
+sources.files = $$SOURCES modelviews.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/mousearea
qml.files = mousearea.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/mousearea
-INSTALLS += target qml
-
+sources.files = $$SOURCES mousearea.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/positioners
qml.files = positioners.qml positioners-transitions.qml positioners-attachedproperties.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/positioners
-INSTALLS += target qml
-
+sources.files = $$SOURCES positioners.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
threading \
touchinteraction \
customitems
+
+# install
+sources.files = quick.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick
+INSTALLS += sources
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/righttoleft
qml.files = righttoleft.qml layoutdirection layoutmirroring textalignment
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/righttoleft
-INSTALLS += target qml
-
+sources.files = $$SOURCES righttoleft.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
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
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
-
TEMPLATE = subdirs
SUBDIRS += customgeometry simplematerial openglunderqml
+# install
+sources.files = scenegraph.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/scenegraph
+INSTALLS += 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
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/shadereffects
qml.files = shadereffects.qml content
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/shadereffects
-INSTALLS += target qml
-
+sources.files = $$SOURCES shadereffects.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/text
qml.files = fonts imgtag styledtext-layout.qml text.qml textselection
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/text
-INSTALLS += target qml
-
+sources.files = $$SOURCES text.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/threading
qml.files = threading.qml threadedlistmodel workerscript
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/threading
-INSTALLS += target qml
-
+sources.files = $$SOURCES threading.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/touchinteraction
qml.files = flickable multipointtouch pincharea touchinteraction.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/quick/touchinteraction
-INSTALLS += target qml
-
+sources.files = $$SOURCES touchinteraction.pro
+sources.path = $$qml.path
+INSTALLS += sources target qml
SOURCES += directory.cpp \
file.cpp \
dialogPlugin.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml/filedialog
+sources.files = $$SOURCES $$HEADERS filedialog.pro
+sources.path = $$target.path
+INSTALLS = sources target
SUBDIRS = \
filedialog\
+# install
+sources.files = gettingStartedQml.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml
+INSTALLS += sources
TEMPLATE = subdirs
SUBDIRS += gettingStartedQml
+
+# install
+sources.files = tutorials.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials
+INSTALLS += sources
SUBDIRS += \
#screen \
window
+
+# install
+sources.files = window.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/window
+INSTALLS += sources
QT += qml
SOURCES += window.cpp
+OTHER_FILES = Window.qml nogui.qml standalone.qml twowindows.qml
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/window/window
+sources.files = $$SOURCES $$OTHER_FILES window.pro
+sources.path = $$target.path
+INSTALLS = sources target