Priority: Not Evaluated
Affects Version/s: 1.19.2
Fix Version/s: None
Environment:Qt 5.15.0, macOS m1 11.5.2
I'm aware of some bugs related to qmlcache and inline components in 5.15.0. This one isn't reproducible under qmake (.pro file attached).
There are 2 conditions:
1. Your qml filename must match the name of some component from Qt package (like ToolBar from QtQuick.Controls 2).
2. This qml file must include inline component.
The QBS built attached example stuck on second run, view doesn't get displayed. Removing qmlcache fixes it for one time.
The qmake built example gets displayed on any run.
Talking about the real project, we get crash in qml thread on loading the view:
Found similar stacktrace (https://bugreports.qt.io/browse/QTBUG-92236), but the last function is different. Haven't found crashes and bugs related to QQmlTypeData::buildTypeResolutionCaches.
|For Gerrit Dashboard: QBS-1676|
|372818,9||qmlcache: fix qmlcachegen with Qt >= 5.15||1.20||qbs/qbs||Status: MERGED||+2||-1|
|373336,4||qmlcachegen: fix mapping separator||1.20||qbs/qbs||Status: MERGED||+2||+1|
|373670,2||qmlcachegen: Fix typo in command line option description||6.2||qt/qtdeclarative||Status: MERGED||+2||0|
|374628,1||qmlcache: fix qmlcachegen with Qt >= 5.15||master||qbs/qbs||Status: ABANDONED||0||0|
|374630,1||qmlcachegen: fix mapping separator||master||qbs/qbs||Status: ABANDONED||0||0|