Qt Test is a framework designed for unit testing applications and libraries built with Qt. It provides all the standard features commonly found in unit testing frameworks, making it easier to write unit tests for Qt-based projects. We’re happy to introduce the QtTest Runner – a Visual Studio Code extension for running Qt Tests via […]
KDAB Labs Get the RSS Feed
Don’t use for Blogs – just KDAB Labs pages
Incredibly Simple QR Generation in QML Wrapping tiny JS libraries in QML to do quick and simple things effortlessly and elegantly.
The Need for Simple & Modular QR Generation in QML Recently, our designer Nuno Pinheiro needed to generate QR codes for an Android app in QML and started asking around about a simple way to do this. The best existing QML solution was QZXing, a Qt/QML wrapper for the 1D/2D barcode image processing library ZXing. […]
Signal/Slot Connection Throttlers
Another day, another blog post about KDToolBox, KDAB’s collection of miscellaneous useful C++ classes and stuff. Today, we’ll talk about ways to throttle your signal/slots connections — in other words, how to activate a slot less often than the emission rate of the signal it’s connected to. The usual reason why you may want something […]
Using Qt Datatypes in Standard Library Unordered Containers
In the previous blog post about qHash, we explained: how to declare an overload of qHash for your own datatypes, how to hash Qt datatypes for which Qt does not provide a qHash overload, and why you can’t use a type from the Standard Library (or just another library) as a key in QHash (newsflash: […]
KDSingleApplication: a class for single-instance policy applications
Another day, another blog about some of KDAB’s utility classes. Now it’s the turn of KDSingleApplication, a class that helps implement applications that follow the single-instance policy. What is a single-instance policy? Single-instance policy refers to those applications that want to spawn a unique instance for a given user session. Even when launched multiple times, […]
KDDockWidgets v1.1 has been released! An advanced docking system for Qt
KDDockWidgets v1.1 is now available! Although I just wrote about v1.0 last month, the 1.1 release still managed to get a few big features. Here’s the ChangeLog: Auto-hide/SideBar support This was much awaited and probably the last essential feature that was missing. You can now set a dock widget to auto-hide to a side bar. […]
KDDockWidgets 1.0 has been released! An advanced docking system for Qt
The KDDockWidgets 1.0 release is now available! What is KDDockWidgets? KDDockWidgets is an advanced docking system for Qt, with features that are not available in QDockWidget. See our first blog post, for a quick introduction and the motivation for a new docking framework. What’s new in 1.0? We’ve come a long way since the initial […]
UiWatchDog: a keepalive monitor for the GUI thread Part of the KDToolBox series
Continuing our blog series about KDToolBox, this time we will discuss UiWatchDog, a keepalive monitor for the GUI thread. Alive? A fundamental rule when writing applications in event-driven UI frameworks such as Qt is: do not ever block the GUI thread! The GUI thread is also usually called the main thread of the application — […]
Introducing KDDockWidgets An advanced docking framework for Qt
KDDockWidgets is an effort by KDAB to provide an advanced docking system for Qt that QDockWidgets doesn't support. Features include: nesting dock widgets in a floating window, docking to any main window, tab bar with detachable tabs, inner customizable helper widgets.
Introducing KDToolBox KDAB R&D contribution of useful C++ classes
At KDAB we invest a significant amount of efforts in research and development. We are always looking for new tooling, libraries and utilities that can make our job easier and improve the C++ and Qt ecosystems. Ultimately, the gained knowledge and skills make our customers happier. As part of this process we develop lots of […]