Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24987

Editor shows Qml Module not found when using the new QML_ELEMENT registration

    XMLWordPrintable

Details

    • macOS, Windows

    Description

      When trying the example documented here:
      https://www.qt.io/blog/qml-type-registration-in-qt-5.15

      The Editor shows a warning that the QML module is not found and registered classes are not highlighted . The code however compiles and runs just fine. So I guess it is just an intellisense or a Code Model issue.

      I tested this using Qt creator 5.13.3 and Qt 5.15.2 with the mingw81_64.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-24987
          # Subject Branch Project Status CR V

          Activity

            People

              fawzi Fawzi Mohamed
              mugi_luffy Hamza Mlayeh
              Votes:
              16 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes