[Interest] Qt 5: using QPixmap outside of GUI thread

Thiago Macieira thiago.macieira at intel.com
Thu Sep 27 09:36:06 CEST 2012

On quarta-feira, 26 de setembro de 2012 18.40.34, Stephen Chu wrote:
> I was browsing the platform plugin code and find this new
> ThreadedPixmaps capability bit. After checking QPixmap source I think it
> means some platforms support using QPixmap in non-GUI thread?
> It looks like Cocoa and Windows platform do support this capability. Am
> I right about this or did I read it wrong?

You've read it wrong...

But, since QPixmap in Qt 5 is basically a QImage and QImages *can* be used in 
any thread, you should just change your code to use QImage instead.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120927/5a3fd459/attachment.sig>

More information about the Interest mailing list