Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 7.0.2
-
None
-
CMake project
Qt 6.3.1
Description
When adding modules using qt_add_qml_module(), target names seem to get mixed up inconsistently.
Given the example module:
qt_add_library(myproject_mymodule STATIC)
qt_add_qml_module(myproject_mymodule
URI MyProject.MyModule
VERSION 1.0
NO_PLUGIN
QML_FILES
....
)
Then, sometimes the module import expects myproject_my_module.qmltypes, sometimes myproject_mymodule. This changes seemingly at random between clean builds of the project