I have a class that inherits from QMainWindow called CMainForm.
I have a menu action that triggers a method called menuPackageLogs().
At the begining of the method I set the cursor to Qt::WaitCursor, and at the end I set it back to Qt::ArrowCursor. In between I call a routine that blocks for a while. The problem is that my cursor never changes. It is always an arrow, never an hour glass.
I must be missing something fundemental here.
Here is an example of the method that gets called:
Code:
void CMainForm::menuPackageLogs() { // Change cursor to wait cursor bool bRet = UpgradeUtils::PackageLogs(); // Change cursor back to standard arrow if (bRet == true) { "Upgrade log files successfully packaged."); } else { "Could not package Upgrade log files."); } }
If anyone has any ideas, I am all ears. Thanks.
