Hi,

On Tue, Sep 16, 2014 at 12:43:16PM +0200, Christian Prochaska wrote:
> I was not sure about that either, but found this interesting document,
> which states that GUI objects can only be used from the main thread:
> 
> http://qt-project.org/doc/qt-5/threads-qobject.html

Christian, you're dead right about accessing QWidgets: When
programming Qt one should definitely stay away from manipulating GUI
related QObjects from non-main threads. The best practice is to
connect signals in QObjects belonging to other threads to slots in
QWidgets. All attempts to circumvent this approach I know of failed
dramatically.

Greets
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to