[Qt-interest] native painting in a QWidget on Windows

Thiago Macieira thiago at kde.org
Thu Dec 30 21:45:12 CET 2010


On Thursday, 30 de December de 2010 08:36:00 John Weeks wrote:
> Out of curiosity- why is the Windows implementation done this way? Are other
> platforms implemented this way as well?

Mac and Linux (X11) do have a "native" graphics system, but Symbian and QWS 
don't. The reason why Windows didn't have one is because what passes for 
native there (GDI) is too weak to support Qt's operations. So anything non-
trivial will require falling back to the raster engine anyway to perform the 
operation.

Mac CoreGraphics and X11's XRender are considerably more powerful.

Yet, it should be noted, we're moving away from the native engines and we'll 
switch the default on those platforms to the raster engine too. The native 
engines will be kept as legacy and, when that happens, no new features or 
performance improvements will be made on them.

-- 
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/20101230/27d2f60c/attachment.bin 


More information about the Qt-interest-old mailing list