Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.8.3, 6.9.0
-
None
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
- duplicates
-
QTBUG-135448 [REG: 6.8.2 → 6.8.3] Behavior or QQmlEngine::clearComponentCache changed in Qt 6.8.3
-
- Closed
-