Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When calling both qt_add_qml_module and qt_target_qml_sources without QML_FILES, cofiguration fails because of duplicated target records in the _qt_qml_aotstats_module_targets property. In general extending the existing API with the double invocation guard ADDING_QML_MODULE is completely pointless. We simply should move the related logic to qt_add_qml_module. Remove the ADDING_QML_MODULE flag to avoid littering the public API with some internals and ensure that the target do not land to _qt_qml_aotstats_module_targets list twice by moving the respective logic. Amends 09f5197 Pick-to: 6.8 6.9 Task-number: QTBUG-130087 Task-number: QTBUG-124667 Change-Id: I743b6ed89a5639e39384cfa3c621a88c3dfa409e Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
- Loading branch information