qtdeclarative/examples/qml
Fabian Kosmale 612d988243 Add cmake support for examples
qml-i18n needed to be ported to CMake first. It uses qt_add_translations
introduced in 6.2

As a drive-by, move find_package calls from examples' CML to the top
level CML, and make the QtSql dependency optional. Also make sure that
we only add the dynamicscene example when the Quick target is available.

Pick-to: 6.2 6.3
Fixes: QTBUG-90964
Change-Id: Id357eb14e4704753386e01393300966eb89b4e86
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-03-29 22:12:43 +02:00
..
doc/src Polish the QML reference examples 2021-11-04 10:51:39 +01:00
dynamicscene Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
locale examples/qml/locale: Use inline component as a delegate 2021-05-19 11:46:37 +02:00
networkaccessmanagerfactory Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
qml-i18n Add cmake support for examples 2022-03-29 22:12:43 +02:00
qmldom Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
qmlextensionplugins Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
referenceexamples Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
shell Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
tutorials Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
xmlhttprequest Improve examples CMakeLists.txt 2022-01-24 13:25:13 +01:00
CMakeLists.txt Add cmake support for examples 2022-03-29 22:12:43 +02:00
qml.pro Turn the no-network support into a configurable feature 2016-10-10 14:11:47 +00:00