Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

qml root deleted on startup

$
0
0
Issue: I have a qt 4.8.4 application that sets the source for my declarative view, all the components complete (Component.onCompleted called) but then Component.onDestruction is called straight away. The qml loaded is the UI for a fairly substantial application(about 250 qml files). The root element is getting a deleteLater event but I cant see where from or why The declarative view does not get a close event There are no warnings printed during startup. If I add more qml menus the problem goes away but makes me wonder if I have a ticking time bomb. If I port the app to qt5 for testing it does not destroy everything on startup Questions: why would the root be destroyed, what can I look for? is working around the issue going to cause pain later?

Viewing all articles
Browse latest Browse all 4972

Trending Articles