Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.7.0 Beta
-
None
-
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