Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2, 6.3.2, 6.4.0
-
b6ba7e9c90 (qt/qtdeclarative/dev) b6ba7e9c90 (qt/tqtc-qtdeclarative/dev)
Description
When several instances are created from component with `required property`, application will fail to start only when last instance doesn't set value to the property.
Comment property set for the last instance and uncomment for the first instance and application will fail to start.
Example code:
import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true component AccessibleButton : Button { required property string description Accessible.description: description } AccessibleButton { //description: "" // Uncomment this line } AccessibleButton { description: "" // Comment this line } }