qtdeclarative/examples/qml/tutorials/extending-qml
Craig Scott 0c99c17761 CMake: Change the default of OUTPUT_DIRECTORY for qt6_add_qml_module()
The new default is now controlled via a new QT_QML_OUTPUT_DIRECTORY
variable. If that isn't set, the fallback assumes the source directory
structure follows the URI structure and uses
${CMAKE_CURRENT_BINARY_DIR} instead. This pattern means more projects
will have working import paths for qmllint and possibly other tools
out of the box. There should also be fewer cases where the
OUTPUT_DIRECTORY option needs to be used in calls to
qt6_add_qml_module(). The QT_QML_OUTPUT_DIRECTORY variable facilitates
the scenario where QML modules might be distributed across different
parts of the source directory hierarchy, but once collected under a
common base point defined by QT_QML_OUTPUT_DIRECTORY, they form a
coherent set of QML modules whose subdirectory structure below that
base point follows their TARGET_PATH.

Fixes: QTBUG-94164
Fixes: QTBUG-95081
Pick-to: 6.2
Change-Id: I82864c361a2b34f7f1484cdbda0d9b64b34b9950
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-07-20 16:33:48 +10:00
..
chapter1-basics Add missing "override" keywords 2021-06-30 14:17:01 +02:00
chapter2-methods Add missing "override" keywords 2021-06-30 14:17:01 +02:00
chapter3-bindings Add missing "override" keywords 2021-06-30 14:17:01 +02:00
chapter4-customPropertyTypes Add missing "override" keywords 2021-06-30 14:17:01 +02:00
chapter5-listproperties Add missing "override" keywords 2021-06-30 14:17:01 +02:00
chapter6-plugins CMake: Change the default of OUTPUT_DIRECTORY for qt6_add_qml_module() 2021-07-20 16:33:48 +10:00
.prev_CMakeLists.txt Convert Examples 2019-08-23 13:51:06 +00:00
CMakeLists.txt Switch examples to build as isolated sub-builds 2021-05-27 21:08:14 +10:00
extending-qml.pro Doc: Combine the extending QML tutorial chapters into a single example 2014-09-30 12:33:22 +02:00