Add a splashscreen to your application with QT5 and QML

In order to make the loading of their application more confortable, software developper often add a splashscreen, a window that is displayed while the softawre is loading and initializing. The splashscreen may display a logo, the name of the software, a progress bar, the name of the softawre developper(s),… Most of all, the splashscreen gives a feedback to the user, make him wait while loading, and demonstrate him that everything is under control.

I needed such a thing in my project Touchradio, because, the initialization of the softawre takes quite a long time (yes, 5 seconds is too much for the average user), because it needs to load ressources, initalize objects, connect to the server,… In this post, I’ll explain how I manage to implement it in QT5 and QML. And, as a gift, I’ll give you the full source code of the example! Continue reading “Add a splashscreen to your application with QT5 and QML”