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

Import of module in Javascript resource does not respect qmldir->prefer

    XMLWordPrintable

Details

    • All

    Description

      Hi, I have already created a post in the qt forum ] and on [StackO|https://stackoverflow.com/questions/79089532/import-of-module-in-javascript-does-not-respect-qmldir-prefer] about my issue. 

      Basically, when importing a QML module from within a javascript resource, the `prefer ./local/path/` of the `qmldir` file is not respected.

      That leads to having to rebuild the entire application every time the imported module is modified. 

      I have created a minimal reproducible example on [GitHub | https://github.com/skaldesh/qml-import-test]

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              skaldesh Sebastian Borchers
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes