Show UI Design not in main metod is possible?
-
[quote author="Vetryaspa" date="1307691735"]1. but I have read something about GUI Thread, you know something about this?[/quote]I know something about the GUI thread, but I don't know enough about your code to see where this question becomes relevant.
[quote]2. I try to do the same metod to show Root?[/quote]Not necessary, since rootView stays in scope during the run of the application.
-
An idea: you have said that the splash are quickly destroyed, tha exist a metod where i can intercept the event of closing of the splash?
so I can control if it will be created or not....
whit destructor method [ ~Splash() ] I can see this[Edit:] I have try and the destructor will not call
-
If you use the pointer, then it's only destroyed when you call delete on it.
Problem could be caused by the not yet running event loop. You might want to try
@
app.processEvents();
// or
qApp->processEvents();
@to work around this.
Did you try "QSplashScreen":http://doc.qt.nokia.com/4.7/qsplashscreen.html?