Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt for MCUs 2.5, Qt for MCUs 2.4, Qt for MCUs 2.2
-
None
Description
link:
https://doc.qt.io/QtForMCUs-2.5/qtul-qmlproject-reference.html#qul-modules
https://doc.qt.io/QtForMCUs-2.5/qtul-qmlproject-mcu-modulenode-generateqmltypes.html
MCU.Module.generateQmltypes is written as MCU.Module.generateQmlTypes in the documentation. When the capital T is used as it's written in the documentation, cmake yields the error below:
[qmlprojectexporter] error: Problem during load of qmlproject file[qmlprojectexporter] C:/Users/81808/Downloads/untitled12/qmlproject/imports/CustomModule/CustomModule.qmlproject:6:9: error: Unknown MCU.Module option 'generateQmlTypes' generateQmlTypes: true ^~~~~~~~~~~~~~~~CMake Error at C:/Qt/QtMCUs/2.5.0/lib/cmake/Qul/QulMacros.cmake:568 (message): qmlprojectexporter failed while processing C:/Users/81808/Downloads/untitled12/qmlproject/untitled12.qmlproject: 1Call Stack (most recent call first): C:/Qt/QtMCUs/2.5.0/lib/cmake/Qul/QulMacros.cmake:2540 (qul_private_target_set_qmlproject) qmlproject/CMakeLists.txt:2 (qul_add_target)