[Interest] QIcons and multithreading

Sensei senseiwa at gmail.com
Thu Apr 4 15:06:33 CEST 2013


On 4/3/13 4:14 PM, Alan Ezust wrote:

> no. You can't create widgets or QPixmap in other threads.
>
>
>
>     The warning is "QPixmap: It is not safe to use pixmaps outside the GUI
>     thread".
>
>
> Correct.
>
>
>     Also, besides QIcons, am I heading for disaster in creating widgets as I
>     am doing in a separate threads?
>
>
> Yes.
>

Might I ask why is this?

I don't start un-parented threads, my threads are always parent of my 
main window... not that this could somehow ameliorate the fact that I 
need refactoring. :)

Thanks!



More information about the Interest mailing list