Details
Description
The QML preview does not update properly.
Observations so far: The preview starts up and properly shows initial content. Later, the preview is re-done when the source changes (visibly by the flickering of the toplevel, but also in the communication) but keeps showing the original content.
I use a standard "Qt Quick Application" project generated from the wizard and the Main.qml there as test. At the time the preview should update there are three copies of Main.qml around (in the sources, in the build folder, and encoded in some .rcc/*.cpp). There are two visible "Main.qml" nodes in the project tree: the one in the sources and one in the .qrc .
When changing the source Main.qml, only that changes on disk, the build folder (expectedly) stays at the original content. The qmldebug server asks for :/untitled31/Mail.qml, and contents is apparently taken from there, /possibly/ due to the presence of the Main.qml node in the resource part of the project tree.
Attachments
Issue Links
- duplicates
-
QTBUG-117408 [Reg 6.5.2 -> 6.6]QmlPreview does not work with Qt 6.6 (does work with 6.5.2 and lower)
- Closed
- is duplicated by
-
QTCREATORBUG-30651 Live preview not working
- Closed
-
QTCREATORBUG-30312 Qml live preview not updating
- Closed
- resulted from
-
QTCREATORBUG-28604 Code navigation: Opening resource files from URL literals does not work with CMake projects
- Closed
For Gerrit Dashboard: QTBUG-129329 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
593644,3 | QtQml: Disable AOT compiled code when QML-previewing | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
594339,2 | QtQml: Disable AOT compiled code when QML-previewing | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
594348,2 | QtQml: Disable AOT compiled code when QML-previewing | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
594372,3 | QtQml: Disable disk cache when QML-previewing | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |