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

Problems writing QML Modules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5
    • 6.4.1, 6.4.2
    • None
    • Tested with Qt 6.4.1 and 6.4.2 installed from maintenance tool. Xcode 14.2, mac OS Ventura 13.1, cmake version 3.25.1
    • macOS

    Description

      I'm trying to follow the guide of how to write a QML Module but I'm having difficulties in making the example run on both 6.4.1 and 6.4.2, directly from Qt Creator.

      I have made an example based on the code available on the guide. There are no compilation errors but application fails to load due to:

      QQmlApplicationEngine failed to load component
      qrc:/myProject/main.qml:10:5: Extra is not a type

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              sinosoidal Nuno Santos
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes