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

[REG Qt 6.7.0-> 6.8.0 beta4] QML module linked as library doesn't work anymore

    XMLWordPrintable

Details

    Description

      Attached an example with an small QML ui registered using qt_add_qml_module directly into the executable.

      In addition the example uses a second QML module which registers a C++ based Item. That module is linked as dynamic library to the example.

      When using Qt 6.7 the example works fine, with 6.8 the Example cannot find the qmldir embedded into the library anymore and cannot load the module:

      qrc:/qt/qml/Example/Main.qml:11:1: module "MyModule" is not installed
      

      Attachments

        1. moduleImportBug.tar.gz
          2 kB
          Dominik Holland

        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
              gagi Dominik Holland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes