Qt : Create SplashScreen

Qt : Create SplashScreen

This is a simple tutorial how Qt : Create SplashScreen. A splash screen is an image that appears while a game or program is loading. It may also be used to describe an introduction page on a website. Splash screens cover the entire screen or simply a rectangle near the center of the screen. The splash screens of operating systems and some applications that expect to be run full-screen usually cover the entire screen (wikipedia).

Qt have a class QSplashScreen to create SplashScreen. This is the sample code how Qt : Create SplashScreen :

Create a resource file and add your image png file. This is my sample resource file for this Qt : Create SplashScreen project :

This is a sample output from this Qt : Create SplashScreen :

Qt_Create_SplashScreen

You can donwload the complete code for this Qt : Create SplashScreen at here.

Source :
http://www.developer.nokia.com/Community/Wiki/How_to_display_a_splash_screen_in_Qt

 

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.