SUMMARY Using ApplicationWindow.pageStack with a QML Component triggered the warning message "Created graphical object was not placed in the graphics scene." In my use case, this happens with both pageStack.initialPage and pageStack.push(). The page works fine afterward. The warning is just annoying. Also, the message is not triggered if an object is passed in instead, i.e. using the createObject() method of the QML Component even with parent set to null. SOFTWARE/OS VERSIONS OS: Arch Linux KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2
The warning comes from upstream Qt. There was a change between Qt 6.6 and Qt 6.7 that makes it quite a bit more prominent, I'm currently unable to find the exact change though. There is an upstream bug report for this issue at https://bugreports.qt.io/browse/QTBUG-124926 .