[Interest] A little question about Qt

Thiago Macieira thiago.macieira at intel.com
Mon Feb 4 07:59:07 CET 2013


On domingo, 3 de fevereiro de 2013 20.45.15, Andres Linares wrote:
> So how Qt multiplatform GUI support works? Does it actually wraps 
> something from some GUI component (like Cocoa on Mac OS X or WinAPI on 
> Windows, considering it says it wraps GTK on GTK-based environments) or 
> it just acts like a "mask" on a specific platform (like Java)?

It doesn't wrap the native widgets. When you create a QPushButton, it doesn't 
create an equivalent Gtk, Win32 or Cocoa widget underneath. Instead, the 
theming engine asks those what the button looks like and uses that information 
to draw this QPushButton and others.

(oversimplified)
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/20130204/0329c39a/attachment.sig>


More information about the Interest mailing list