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

        1. Capture.PNG
          18 kB
          Hamza Mlayeh

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          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