Quick: When you design C++ APIs, when and how should you use pair and tuple? The answer is as simple as it is surprising: Never. Ever. When we design APIs, we naturally strive for qualities such as readability, ease-of-use, and discoverability. Some C++ types are enablers in this regard: std::optional, std::variant, std::string_view/gsl::string_span, and, of course, […]
KDAB Blogs Get the RSS Feed
Stay up-to-date and get inspiration from KDAB’s expert insights into Qt, C++ and OpenGL development.
Our engineers and designers share cutting-edge technology news and ideas with regard to Qt, QML, Qt on Android, OpenGL, Qt 3D, Vulkan, Scalable UIs and more embedded, mobile and desktop-related topics.
GammaRay 2.6.0 – a major new release
GammaRay Model Inspector. GammaRay 2.6 brings you three major new features: We merged the previous model and selection models tools into a new, unified QAbstractItemModel inspector, allowing you to now also see selections and cell flags, as well as to inspect deactivated cells. The new Wayland compositor inspector enables you to observe Wayland clients of […]
KDAB at Qt World Summit 2016
This year’s Qt World Summit was held in Pier 27 in San Francisco – a spectacular location, that was blessed with gorgeous sunshine and close to 600 attendees, surely a record attendance for the US version of what used to be called Qt Developer Days. Kevin Kelly’s statement on the future Ubiquity of VR Partner […]
KDAB talks at QtCon 2016
Hello! This is a small wrap-up fromQtCon, the biggest Qt event in Europe in 2016, that happened at the beginning of September. At QtCon the Qt community joined forces with the KDE, FSFE and VideoLAN communities, to create an exciting event in the spirit of open collaboration and participation amongst projects. During QtCon many KDAB […]
Qt on Android: How to create an Android service using Qt Full code samples for building with and communicating to QAndroidService background tasks
Starting with Qt 5.7, we added the ability to create Android services using Qt. In this article we’re going to see how to get started and also how to communicate between the two. Before we get started I want to add a big bold WARNING about the performance! Because the services are run in the […]
QtCon – a report from the front
We had a huge amount of fun at QtCon in Berlin. By far the most commented on was the positive effect of the diversity of attendees, both newcomers (about 30%) and those who came through the five entities involved in bringing the event together: KDAB, Qt Contributors, KDE Akademi, FSFE and VideoLAN, notable also for […]
CppCon and Qt
KDAB was proud to sponsor CppCon this year, continuing to foster the Qt / C++ connection, talking about Qt and soaking up the immense range of C++ knowledge on display. KDAB’s Giuseppe D’Angelo gave a much appreciated, two-day Qt Widgets training as a pre-conference class, a condensed version of one of our scheduled Qt trainings, […]
Goodbye, Q_FOREACH A porting guide to C++11 ranged for-loops
Q_FOREACH (or the alternative form, foreach) will be deprecated soon, probably in Qt 5.9. Starting with Qt 5.7, you can use the QT_NO_FOREACH define to make sure that your code does not depend on Q_FOREACH. You may have wondered what all the fuss is about. Why is there a continuous stream of commits going to into Qt […]
GammaRay 2.5 release
GammaRay 2.5 has been released, the biggest feature release yet of our Qt introspection tool. Besides support for Qt 5.7 and in particular the newly added Qt 3D module a slew of new features awaits you, such as access to QML context property chains and type information, object instance statistics, support for inspecting networking and […]
KDStateMachineEditor 1.1.0 released
KDStateMachineEditor is a Qt-based framework for creating Qt State Machine metacode using a graphical user interface. It works on all major platforms and is now available as part of the Qt Auto suite. The latest release of KDAB’s KDStateMachineEditor includes changes to View, API and Build system. View Button added to show/hide transition labels Now […]