I think only the main thread has access to the UI in Qt. Thus if you want GUI functionality, it must be ...
stackoverflow.com