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

No more possible to use a Loader for QML hot/live reloading since Qt 6.8.3

    XMLWordPrintable

Details

    • macOS

    Description

      A solution for QML hot/live reloading consists in using a Loader and clearing the components cache of the QML engine, as described in the following links:

      But, it seems that this solution does not work anymore since Qt 6.8.3...

      I have attached an example to illustrate this issue:

      • a Rectangle is displayed within the entire Window (inside a Loader)
      • a shortcut is used to activate the hot/live reloading of the Loader
      • modifying the color of the Rectangle (in the Rectangle.qml file in the build directory) and activating the shortcut does not have any effect in Qt 6.8.3 and Qt 6.9.0
      • the same example built with Qt 6.5.3, 6.6.3, 6.7.3 and 6.8.2 works as espected.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              erwanwright Erwan LE GOFF
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes