I have a QProgressDialog that needs to be popped up when application does the updates. It keeps hiding behind the windows.
dialog->setWindowTitle("Test");
QLabel * labl = new QLabel(this);
labl->setPixmap(QPixmap("icon.png"));
labl->setText("");
dialog->setLabel(labl);
dialog->setCancelButton(NULL);
dialog->show();
Am I doing something wrong here?
As a matter of fact you haven’t provided enough information to solve the problem, my guess is you have forgotten to raise your dialog (because it was created and hidden earlier). So try to change the code to: