[Qt-interest] Problem with passing QPixmap pointer to thread (cannot debug)

Bo Thorsen bo at fioniasoftware.dk
Mon Jun 13 09:13:20 CEST 2011


Den 12-06-2011 23:48, Thiago Macieira skrev:
> Em Monday, 13 de June de 2011, às 00:26:14, Andrei Sebastian Cîmpean escreveu:
>> Hello everybody,
>>
>> I have a problem and I hope I can find the answer here.
> [snip]
>
> Answering the subject: QPixmap cannot be passed to another thread. They can
> only live in one thread, the GUI thread.

Use QImage between threads instead of QPixmap.

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list