I tried the non-finishing progress bar but it's just not showing in Linux.
I am trying to have the progress bar in the status bar depicting the progress of the compile process. But I am not able to view this non-finishing progress bar when compile button is hit. The same thing is working in Windows but not in Linux.
It looks like paint events for progress bar are cached and are not processed because system is busy with other task (compiling), that's why you don't see progress bar.
You can try to invoke method repaint() or QApplication::flush() or QApplication:rocessEvents() like:
progressBar.setValue(i);
progressBar.repaint();
QApplication::flush();//this line is probably not necessary
See Qt help for QCoreApplication::flush() method.
Bookmarks