[Qt-interest] Load QWidget in background "thread"

Dominic Stalder dominic.stalder at bluewin.ch
Mon Jan 11 11:21:52 CET 2010


OK I will try, thanks everybody.

Regards
Dominic

Am 11.01.10 10:35, schrieb Sean Harmer:
> Hi,
>
> Dominic Stalder wrote:
>    
>> For precise understandig: I can't pass the initialization of the hole
>> QWidget to a seperate thread, right? I can "extract" the OSG part and
>> load this in a thread.
>>      
> Yes that's the idea. You could even have yoru widget display soem kind
> of "loading" or "busy" information/animation whilst the worker thread is
> loading your actual scenegraph.
>
> As long as you don't do anything (directly) with a QWidget subclass or
> QPixmap in the worker thread you shoudl be OK. See the Qt threading
> documentation for a complete list of things to avoid.
>
> Cheers,
>
> Sean
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>    



More information about the Qt-interest-old mailing list