Spooky Qt Event Loop
-
Has anybody noticed from Qt4.6.0 onwards, Qt's event loop has been acting little weird.
Was there any modification or some changes ?
One impact for sure is on QLocalSocket in asynchronous communication.
-
What makes it appear to be spooky?
-
I have a example but i can not share with public forum i guess.
But here try to something like this, write your firefox or safari browser plugin using Qt and communicate it with QLocalSocket. Now in asynchronous communication, you simply stop getting messages from server. This is case with 4.6 higher. if you run same application with Qt 4.5 things works fine. Now not sure about where exactly the prob is but 1 timer that calls processEvents() function does a trick, everything starts working.
There are other examples as well but trying to dig into it.
-
Maybe you can provide some test application written especially to show this bug? Without revealing closed source you have.
-
Thats true, Let me reproduce that with code, will raise a bug