Qt 4.5 to be LGPL

J Duncan jtd514_ at ameritech.net
Fri Jan 16 09:03:41 PST 2009


Sergey Kovrov wrote:
> On 1/16/2009 10:34 AM, Daniel de Kok wrote:
>> I use Qt daily, and it uses native widgets in recent versions. Of
>> course, with the exception of X11, because there is no such thing as
>> native widgets (arguably, Qt is one of the major two native toolkits
>> for X11). E.g. in OS X Qt uses Carbon (or Cocoa from 4.5 on).
> 
> Maybe there is some misunderstanding. By the "native widgets" I mean 
> Windows Common Controls - buttons, combo boxes, status bars, etc.
> 
> This is the note from a Qt developer I was referring to 
> http://labs.trolltech.com/blogs/2007/08/30/say-goodbye-to-flicker-aliens-are-here-to-stay/ 
> 
> 
> And right now I can see (using spy++) I that Qt (4.4.3) applications are 
> using only one native window handle per top level window. There are few 
> more hidden window probably used for worker threads and reserved for 
> stuff like tooltips etc...
> 
> That makes me think Qt might be using GDI (DrawEdge, DrawFocusRect, 
> etc.) or Themes API to draw widgets that looks native. But surely they 
> use their own "widget logic".
> 
> -- serg.

Yes its a native style thats being applied but the standard QWidgets 
that make them look and feel 'native'

http://doc.trolltech.com/4.4/qwindowsxpstyle.html
http://doc.trolltech.com/4.4/qwindowsvistastyle.html
http://doc.trolltech.com/4.4/qmacstyle.html



More information about the Digitalmars-d mailing list