I am trying to display a Splash Screen in full screen mode using QSplashScreen. I am able to display it using following piece of code:

int main(int argc, char *argv[])
QApplication a(argc, argv);
QPixmap pixmap(":/images/Mainscreen.png");
QSplashScreen *splash = new QSplashScreen;
splash->raise();//This displays the Splash screen in Full screen mode otherwise Menubar will be displayed.

MainWindow w;
w.raise();//This does not display the Splash screen in Full screen mode. Menubar or bottombar is displayed in this case.
return a.exec();
As I have mentioned in the above piece of code, splash screen is displayed in Full screen mode after using the splash->raise();. However the same thing doesn't work for the main window. I am getting Bottombar even in Fullscreen mode.

How to hide this Bottombar. Even I tried to disable this thing using "Qt::windowFlags", but no success.

Please let me know how to disable the Bottombar thing.