PDA

View Full Version : Qt vs wxWidgets



mickey
11th March 2008, 00:16
Hello,
Has anyone ever tried wxWidgets? Can you explain the most important difference with QT (even under the hood if any)...

Thanks.

jacek
11th March 2008, 02:15
I've tried it once, before I started to use Qt, and at that time wxWidgets weren't 100% cross-platform. The most important difference is that wxWidgets seem to mimick MFC mechanisms with all those weird macros for event routing.

wysota
11th March 2008, 10:04
And it's documentation sucks (so I heard, never used it myself). On the other hand it's LGPL.

przemoc
14th March 2008, 20:14
You can read WxWidgets Compared To Other Toolkits: Qt (http://www.wxwidgets.org/wiki/index.php/WxWidgets_Compared_To_Other_Toolkits#Qt) if you haven't done this already.
BTW. Code::Blocks (http://www.codeblocks.org/), pgAdmin III (http://www.pgadmin.org/), VLC (http://www.videolan.org/) and few other less known projects use wxWidgets, so it's not the worst ;)

wysota
14th March 2008, 20:29
One thing worth noting is that Qt and wxWidgets operate on different layers. While Qt is a real native API, wxWidgets is a tower API over other toolkits (just as MFC is a wrapper over WinAPI). Qt's approach should be faster and yield more control over what is really happening, especially given the recent improvements to Qt like Aliens. In theory you could write a wxWidgets wrapper over Qt, but let's face it - it would be silly (and probably slow).

Personally I think wxWidgets' strongest side is that it is LGPL. On the other hand Qt's quality is much much better (because people get paid to improve it).