[Qt-interest] GUI separate threads problem

Marat Abrarov abrarov at mail.ru
Fri Apr 23 16:10:06 CEST 2010


What about Qt examples? examples\threads\mandelbrot shows how to render (use QImage and not QPixmap! - read Qt docs
about this) in another (than main event-loop or GUI) thread. Also You may use QtConcurrent with thread pool and QFuture.
It's rather simple task.

Regards, Marat.

> Message: 6
> Date: Fri, 23 Apr 2010 15:30:04 +0200
> From: Thiago Macieira <thiago at kde.org>
> Subject: Re: [Qt-interest] GUI separate threads problem
> To: qt-interest at trolltech.com
> Message-ID: <201004231530.04572.thiago at kde.org>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Em Sexta-feira 23. Abril 2010, ?s 14.45.29, Marek Bronowicki escreveu:
> > is slowing down even if I do a new QThread inherited class with
> > QGraphicsView inside.
> 
> You can't do that.
> 
> Qt supports GUI in one single thread, the application's main thread.
> 
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org




More information about the Qt-interest-old mailing list