I'm not sure what's wrong. I tried this code (without executing any script) and it worked: Code: QProgressDialog progress("Setting up the theme, please wait...", "Abort", 0, 0, this); progress.setWindowModality(Qt::WindowModal); progress.exec();
QProgressDialog progress("Setting up the theme, please wait...", "Abort", 0, 0, this); progress.setWindowModality(Qt::WindowModal); progress.exec();