Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
6.5.4
-
None
Description
I am facing strange behaviour, the QML stored in qrc and the QML executed are different. so I think the QtQuickCompiler precompiler the QML and cached it.
QFile f(":/main.qml");
f.open(QIODevice::ReadOnly);
auto s = f.readAll();
I dumped the QML in qrc, and confirmed the QML file is actually updated.
I reproduce this issue on RPI4 with Automotive grade Linux. and by enabling QML_DISABLE_DISK_CACHE=1 can fix the issue.
attached the binary and sample which I tried: settings settings.zip
Attachments
For Gerrit Dashboard: QTBUG-126757 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
583044,1 | QtQml: Extend disk cache logging | 6.7 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
583045,1 | QtQml: Extend disk cache logging | dev | qt/qtdeclarative | Status: DEFERRED | 0 | 0 |
583474,2 | QtQml: Don't trust timestamps from the resource file system | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |