[Qt-interest] QWebPage in a thread

Thiago Macieira thiago at kde.org
Tue Jun 29 08:15:09 CEST 2010


Em Terça-feira 29. Junho 2010, às 02.58.42, Jason H escreveu:
> I am not sure this is right. I believe I have used QPixmaps in non-main
> threads before. I think you just have to supply the device metrics (bpp,
> ARGB) rather than using the screen's metrics. QImage is
> device-independent. But if you choose your QPixmaps metrics to match you
> display, you should be optimized for drawing. 

QPixmaps are not allowed outside the main thread. If you used them, then you 
were violating Qt's threading recommendations.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100629/03ff5df5/attachment.bin 


More information about the Qt-interest-old mailing list