stackView.currentItem.data[0].objectName always null in Qt5.6.3
-
Hi
I'm usingobjectName
property to find the name of loaded items instackview
.Everything is fine in Qt
5.14.2
. But this property is always null in5.6.3
. Why?@LinArcX said in stackView.currentItem.data[0].objectName always null in Qt5.6.3:
But this property is always null in 5.6.3. Why
Are you sure, that your code works at all?!
According to this (https://doc.qt.io/qt-5/qml-qtquick-controls2-stackview.html),
StackView
should not be in5.6.3
since it was introduced in5.7
first. -
@LinArcX said in stackView.currentItem.data[0].objectName always null in Qt5.6.3:
But this property is always null in 5.6.3. Why
Are you sure, that your code works at all?!
According to this (https://doc.qt.io/qt-5/qml-qtquick-controls2-stackview.html),
StackView
should not be in5.6.3
since it was introduced in5.7
first.