C++11 in Qt 5
woboq.com
woboq.com
Those are just superficial impressions, but while Qt is terrific GUI toolkit and set of libraries, the all-encompassing framework style doesn't fit to me.
I just wish they something as powerful as the GridBagLayout. No, QGridLayout is not it.
Anyone used gtkmm? That seems to be the one cross platform C++ GUI framework that doesn't try to re-implement massive chunks of the standard library and forsake modern C++ programming style and idioms.
Most of it's own collection classes have been replaced with std:: versions. There is still QString but it does a lot more than std::string, especially if you need to be multi-lingual
Signals/slots I like more than the boost equivalents. The multithreading probably is better in c++11
Want to use the latest C++ features? QT has your back. Not a fan of modern C++? wxWidgets has your back.
wxWidgets is a much more conservative framework, where QT seems to embrace the new stuff (and provide backwards compatible hooks where possible).
Of course, you could use different C++ styles and ignore "what you don't like" from either framework, but there's a little impedance mismatch.
- enumerate the properties, signals, slots and other methods as well as decorations (classinfo) present in a class (this feature is called “type reflection”, which is common in scripted languages, but is also present in Java)
- get and set properties by name and without knowing th exact type of the property (though technically the latter is a product of the related, but independent Meta Type system)
- place calls to extracted member functions (the “invokable” functions) by name
- the last two features together allow us also to integrate C++ classes easily with other languages and IPC mechanisms without the need to write specialised parsers (D-Bus, EcmaScript, QML, but also the many bindings to Qt like Python or C#)
- instantiate types by simply having access to the meta object
I was just curious since I haven't touched Qt in years and this post implies it is moving toward more standard C++.