Dear all,

I am experimenting a way to implement a wizard interface featuring a next and previous page navigation using QtQuick Controls 2.

I tried to achieve this using StackView but I receive the error "TypeError: Type error' when I try to access popped items later, for example using console.info(popped_item_array)

It looks like a kind of garbage collection of the Qt object returned by push and pop.  But I could not figure out any explanation of this behaviour on the Qt doc https://doc-snapshots.qt.io/qt5-5.11/qml-qtquick-controls2-stackview.html However the older implementation had a destroyOnPop feature cf. http://doc.qt.io/qt-5/qml-qtquick-controls-stackview.html

Cheers,

Fabrice


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to