Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-217

MCU.Module.generateQmltypes is written as MCU.Module.generateQmlTypes in the documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt fo MCUs 2.5.2
    • Qt for MCUs 2.5, Qt for MCUs 2.4, Qt for MCUs 2.2
    • Documentation
    • None
    • All

    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) 

      Attachments

        1. untitled12.zip
          26 kB
          Mikio Hirai
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            veshivas Venugopal Shivashankar
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes