Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QT vs wxWidgets [closed]

The question has been asked before, but the most recent one seems to be from two years ago, so there must be new developments that must have occurred in the two toolkits.

So which toolkit should I use for developing a GUI with C++? What are the pros/cons of each?

like image 361
rasen58 Avatar asked Oct 14 '13 02:10

rasen58


People also ask

Is wxWidgets better than QT?

One key difference between wxWidgets and Qt or GTK is that wxWidgets, as far as I know, uses native controls to create the UI, unlike Qt or GTK which draw everything themselves. Qt is really good at imitating a native feeling but wxWidgets provides a real native UX.

Is wxWidgets maintained?

Currently wxWidgets is developed and maintained by Julian Smart, Vadim Zeitlin, Stefan Csomor, Robert Roebling, Vaclav Slavik and many others. More information about wxWidgets is available on its web site at http://www.wxwidgets.org.

How good is wxWidgets?

wxWidgets is really good and excellent framework either for gui and non gui. Recommend for those who looking for the complete library to build multi platform application. Documentation is now getting much better and comprehensive and very easy to navigate.

Does wxWidgets use GTK?

wxWidgets uses the native toolkit of the platform, (GTK on Linux, Win32 GUI API on Windows, Cocoa on MacOS X).


2 Answers

In my obviously biased opinion, the advantages of wxWidgets are:

  • Native widgets (as far as possible) guarantee native look and feel
  • Standard C++ only, no special preprocessor/extensions
  • Possible to link statically to closed source applications without buying a commercial licence

Also, whether it's an advantage or a disadvantage is up to you to decide, but wxWidgets is primarily a GUI library and seeks to play well with the other specialized libraries (like SOCI or asio, for database and network support, respectively) instead of trying to be the one and only true library for everything.

like image 82
VZ. Avatar answered Sep 20 '22 21:09

VZ.


If you are comparing wxWidgets with Qt, wxWidgets literally stands no where. Qt is a complete framework where you can write code and generate GUI for Linux, Windows, MAC, Android, IOS and even blackberry, and other embedded systems. It has classes for almost anything you wish to do, from controlling your webcam to bluetooth devices etc. Unless you are doing something very specific, you won't need any 3rd party library.

On the other hand, wxWidgets, essentially offers a way of creating GUI, with many other classes too but they are quite few in comparison to Qt.

like image 35
adnan kamili Avatar answered Sep 19 '22 21:09

adnan kamili