Hi. I've got a question. In C++ GUI Programming with Qt 4 is explained how to do a splash screen, but it's different than this, what I wanna do. In book it was explained how to do this when you were implementing forms manually, and I was doing forms by designer. And I want to display splash screen without for example "loading plugins", but only and image, which is displaying for 4 seconds, and after it main window is shown. How can I do that, on my main.cpp file:
#include <QApplication>
#include <QPlastiqueStyle>
#include "maker.h"
#include "about.h"
int main(int argc, char *argv[])
{
MainWindow MainWindow;
MainWindow.show();
return app.exec();
}
#include <QApplication>
#include <QPlastiqueStyle>
#include "maker.h"
#include "about.h"
int main(int argc, char *argv[])
{
QApplication::setStyle ( new QPlastiqueStyle() );
QApplication app(argc, argv);
MainWindow MainWindow;
MainWindow.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Regards
Bookmarks