Details
Description
Using QML_DISABLE_DISK_CACHE breaks QML code
When setting QML_DISABLE_DISK_CACHE=true mutliple examples from Qt Design Studio break with Qt 6.7.
See QDS-12264 for details on the Qt Design Studio side.
The issue is related to the stage propperty of QtQuick3D.Shader.
The following (and similar) code does not work anymore if the cache is disabled:
Shader {
id: colormaster
stage: Shader.Fragment
shader: "qrc:/qtquick3deffects/shaders/colormaster.frag"
}
Settting QML_DISK_CACHE=aot trigers the same issue.
This is the error message:
Warning: QQmlApplicationEngine failed to create component ((null):0, (null)) Warning: qrc:/qt-project.org/imports/QtQuick3D/Effects/ColorMaster.qml:15:9: Cannot assign value 1 to property stage (qrc:/qt-project.org/imports/QtQuick3D/Effects/ColorMaster.qml:15, (null))
Attachments
Issue Links
- relates to
-
QDS-12264 Errors with Quick3D effects in examples
- Closed