I don't think a game loop speed should depend on the number of idle calls of the machine. You should setup a proper timer with a predefined interval to get a constant iterations per second of the game loop. As for the timer itself, you can abstract it as well and have it implemented by the GUI framework.
Right now I am trying to find the problem, not suggesting any permanent solutions. Try removing the boost call and see if it changes anything. There shouldn't be any clashes so first let's make sure this really is the problem.Now my question, is there any strong argument why I should not use any other 3rd party libraries in Qt?
And obviously it didn't workpApp->processEvents() was suggested by someone for solving the same issue, but it was a different thread.
How about you tell us what is the ultimate goal you are trying to achieve here and we suggest an approach for it?
Bookmarks