I'm working on an application that uses Qt 4.4.3, Mercury Open Inventor, HDF and some proprietary very math intensive legacy Fortran libraries.
The program performs some very processor intensive computation on input files. While this is going on, dragging another window over the application corrupts it until the computation ends, and the main window is refreshed. The progress bar also doesn't appear for quite awhile.
The computations populate data structures, but the data isn't used until the processinjg is complete. Basiclly, while the computation is going on, the only thing the program needs to do is keep the screen looking OK and show the progress bar.
I think I need to stick to a thread-based approach, since the legacy code would be very difficult to break into chunks.
I tried putting the computation in its own thread, and even experimented with lower priorities (e.g. QThread::LowPriority) but this didn't seem to help.
Any ideas would be appreciated. Thanks in advance!
Bookmarks