Please try the attached patch and see if it helps. With the patch qt4-gui will run in the main thread, so quitting might or might not work as expected...
// Erik -- Erik Johansson Home Page: http://ejohansson.se/ PGP Key: http://ejohansson.se/erik.asc
start-qt-gui-in-main-thread.patch
Description: Binary data
