On 09.10.2009, at 19:54, Piotr Korzuszek wrote:
Hello,
I'm trying to make Qt and Felix work together. The problem is that
when I
run the Qt main loop (QApplication.exec()) the main thread is locked
until
the GUI is closed (so Felix is too).
I cannot put this in seperate thread because it complains to me
about not
being in the main thread. On the Qt forum developers motivates this
behavior
by Mac OS X GUI system that must be handled in the main thread.
Any ideas how to solve this?
Hi,
QTBambi has to be initialized in the main thread. So, the init method
has to be called in the Main thread ( the thread executing the main
method).
However, on Mac, you must set the -XstartOnFirstThread to execute the
main method in the Main thread.
Regards,
Clement
--
Pozdrawiam
Piotr Korzuszek
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]