Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.7.0 Beta
-
Fix Version/s: None
-
Component/s: Quick: Controls 2
-
Labels:None
-
Environment:Mageia Linux Cauldron x86_64, gcc 5.3.1
Description
If I add asynchronous Loader with specific source component into stack I see the following errors:
Object destroyed during incubation
To reproduce, run test program and click on button.
import QtQuick 2.6 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 640 height: 480 StackView { id: stackView anchors.fill: parent } Component { id: component Loader { active: true asynchronous: true sourceComponent: ListView { model: 10 delegate: Column { } Button { contentItem: Text { } } } } } footer: Column { Button { anchors.horizontalCenter: parent.horizontalCenter text: "add" onClicked: { stackView.push(component) } } } }
Attachments
Issue Links
- duplicates
-
QTBUG-50992 QQC2: Object destroyed during incubation
-
- Closed
-