aldofi
10th February 2006, 15:58
Hi,
I'm writting a 3d editor with real time animation capabilities. For programming the interface I decided to use Qt to make everithing as much portable as possible and for real time performance SDL is right because the control you have on timers/main loop.
The porblem I'm having is related to the event processing in Qt and SDL. I made a button toolbar in Qt which just initilizes SDL and enters in a loop painting in a window. The animation goes well but suddenly, SDL just stops processing events or painting the window. I think this is happening because of the event/main loop fight between SDL and Qt. Is t possible to stop the QApplication event processing for a while and "reconect" it later without exiting or quitting the whole thing?
thanks in advance
Aldo
I'm writting a 3d editor with real time animation capabilities. For programming the interface I decided to use Qt to make everithing as much portable as possible and for real time performance SDL is right because the control you have on timers/main loop.
The porblem I'm having is related to the event processing in Qt and SDL. I made a button toolbar in Qt which just initilizes SDL and enters in a loop painting in a window. The animation goes well but suddenly, SDL just stops processing events or painting the window. I think this is happening because of the event/main loop fight between SDL and Qt. Is t possible to stop the QApplication event processing for a while and "reconect" it later without exiting or quitting the whole thing?
thanks in advance
Aldo