You need a running event loop to be able to handle the widget. So you need to create QApplication and then run its exec(), but this will block the rest of your application (along the WinAPI event loop). Alternatively you can use some WinAPI calls to start a timer, which will call QApplication::processEvents() every now and then.





Reply With Quote
Bookmarks