The GUI must be supported in the main thread. The second thread in this case does not make any sense.
Read about QSplashScreen.