Priority: P1: Critical
Affects Version/s: Qt Creator 4.5.1
Fix Version/s: None
Component/s: Quick Designer
Environment:Qt 5.10.1 commercial license.
Qt Creator 4.5.1.
Using "Use QML emulation layer that is built with the selected Qt" setting.
If an aliased property's public name happens to match (case-insensitive) with a .qml component in the search path the puppet tries to read the component for some reason and promptly crashes.
Really hard to explain but I've attached an example project that causes the crash when you open Example.qml in Design mode. If you:
- Change the property alias public part in ExampleUI.ui.qml to something other than "test" it doesn't crash.
- If you change the name of the Test.qml file to something else it doesn't crash.
If they match (case-insensitive), it crashes.