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

QML module without plugin has prefer field in qmldir

XMLWordPrintable

      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
      

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

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

              Created:
              Updated:

                There are no open Gerrit changes