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

QML module without plugin has prefer field in qmldir

    XMLWordPrintable

Details

    Description

      QML module without a plugin leads to a runtime error since qmldir file gets prefer which points to non-existent path.

      To reproduce, run attached project. It fails with:

      qrc:/TestApp/main.qml:10:5: Type MyControl unavailable
      qrc:/MyQmlOnlyLib/MyControl.qml: No such file or directory
      

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: