I have a QWidget which shows a QMessageBox on the show event. I have overridden the showEvent function for the QWidget. The problem is, that the messagebox is displayed first, and the rest of the widget is displayed later. How do I resolve this problem?
void InstallScreen::showEvent( QShowEvent *s )
{
QMessageBox::about( m_main, "One Click Installer",
QString( "The following repositories will be added \n %1" ).arg( repoList ) );
QMessageBox::about( m_main, "One Click Installer",
QString( "The following packages will be installed \n %1" ).arg( packList ) );
}