Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0
-
None
-
f4ea7af46 (dev), 77cca9a36 (6.8)
Description
In qt_add_qml_module, when the URI starts with a numeric string, the file build/app${project_name}_qmltyperegistrations.cpp will generate erroneous variable definitions:
In the project's CMakeLists.txt, the following definitions exist:
The generated build/app${project_name}_qmltyperegistrations.cpp is as follows, and at this point, compilation will fail:
Compilation error message: