Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127092

When the URI starts with a numeric string, qt_add_qml_module will generate erroneous code.

    XMLWordPrintable

Details

    • 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:

      Attachments

        For Gerrit Dashboard: QTBUG-127092
        # Subject Branch Project Status CR V

        Activity

          People

            semlanik Alexey Edelev
            xqliang Xiaoqiang Liang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes