Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.7.0
-
None
-
b6cfb4a1e30598a6176f9bbfdbd1495b37c7f59a
Description
Documentation clearly states that .push can receive a (network) url
http://doc.qt.io/qt-5/qml-qtquick-controls2-stackview.html#push-method
However using network url (on first try):
StackView {
Component.onCompleted: push("http://127.0.0.1:8080/test.qml")
}
produces
Component is not ready
Which is obviously because component is not yet loaded and created.
As a workaround one would have to create this component dynamically and wait for ready status, then provide that to StackView