[Qt-interest] Create a new GUI Thread

Rohan McGovern rohan.mcgovern at nokia.com
Tue Mar 10 00:37:16 CET 2009


On Tuesday 10 March 2009, ext Bill KING wrote:
> Shot in the dark, but with your plots, have you tried drawing to
> a QPixmap inside the threads, and then just pumping that to the
> screen occasionally? Theoretically it should be no different than
> drawing to a window, but you tell the UI when to update its idea
> of the visuals.

Painting to QPixmaps outside of the main thread is not supported.  
QImage is OK.

http://doc.trolltech.com/4.5/threads.html#painting-in-threads

-- 
Rohan McGovern
Qt Software, Nokia



More information about the Qt-interest-old mailing list