Hello, I was writing my application and at some point I came in need to increment progress bar from another thread and do some UI changes. I have tried these:
1. Passing UI to thread, and changing it directly, but program came in much errors (QCoreApplication ASSERT failure if I remember correctly).
2. Emitting signals to MainWindow. Seems to work correctly, but only when qt::queuedconnection was set. If I set it to direct connection program throws the same ASSERT failure in debug mode. I am not satisfied with queued connection, because I want to increment progressbar`s value immediately, not when thread finishes.
How could I do this? Thanks in advance.
Bookmarks