Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
-
4b7d03190559e3d04383e5702b720e3075e11fa3 (qt/qtdeclarative/dev) 7fffac536ce117ca5ebc5ca9b505744927c385d8 (qt/qtdeclarative/6.2)
Description
We should only allow calling qt_target_qml_sources for real qml modules, aka targets that had qt_add_qml_module called on them.
We can relax this restriction in future Qt versions if the need arises.
This might imply documenting that in certain cases qml files should be added with qt_add_resources instead, but we need to very careful about advertising that if we do at all.