Mhm… I can’t find a solution for my issue…
At first, it seemed easy but… it’s not.
So, how would you do this in QT5/QML?
Just after the application starts, display the content of a QML file (“Please wait while connecting to the server…”, for example).
When the message is displayed, do all the initialization stuffs that take a long time (connect to a server, get data from the server, create objects that will be used by the QML application,…). The init is done in C++.
When everything is ready, load another QML file that will use objects that were created during init.
Thanks for your help!
↧