KD SOAP is a tool for creating client applications for web services. The release of 1.9.0 brings a fair number of improvements and fixes, as the following text describes. General C++11 is now required. Qt4 is still supported, but this is the last release with support for Qt4. rpath for Unix/Linux/macOS (#181) is now fixed. […]
Technical Get the RSS Feed
How not to lose the alpha channel when converting between QRgb/QColor/QString
Working on color imagery for QiTissue recently, I realized we were accidentally losing the alpha channel in multiple places. For efficiency reasons, we keep colors in memory using the QRgb type, and convert that to/from QString for serialization purposes via QColor as needed. Here’s what I discovered about why that doesn’t work, and some ways […]
Qt World Summit 2019 talk videos are online
Did you miss the past Qt World Summit? Were you there, but you couldn’t attend that talk or two that you really wanted to see because the conference was so, so packed with awesome content? Fear no more! We are glad to announce that the talks at the past Qt World Summit 2019 in Berlin […]
Making Industrial Applications Match iPhone Expectations Why Qt is the perfect tool for modernizing your SCADA HMI
Supervisory control and data acquisition (SCADA) systems have been around since the 1950’s, far longer than most other types of computer applications. Their rock-solid performance has been responsible for the streamlining of any industry that needs precise and consistent controls: building automation, energy management, part machining, printing and packaging, robotic assembly, ship building, water treatment, […]
New features and changes in the Kuesa 1.1.0 release
KUESA™ is a solution that provides an integrated and unified workflow for designers and developers to create, optimize and integrate real time 3D content in a 3D or hybrid 2D/3D software user interface. Models, including geometry, materials, animations and more, can smoothly be shared between designers and developers. Kuesa relies on glTF 2.0, an open standard […]
A little hidden gem: QStringIterator
A few days ago Marc Mutz, colleague of mine at KDAB and also author in this blog, spotted this function from Qt’s source code (documentation): Apart from the mistake of considering empty strings not uppercase, which can be easily fixed, the loop in the body looks innocent enough. How would we figure out if a […]
Fix Qt Creator code highlighting on Windows/MSVC projects how to configure your projects to get code highlighting and code navigation back
Have you ever noticed code highlighting disappearing in Qt Creator for some projects, without any apparent reason? Can’t get Ctrl+Click to work on any class name or function name anymore? Maybe you have ignored it at first, got used to it, and decided it’s just one of those things that just “happen sometimes”; or maybe […]
The Eight Rules of Multithreaded Qt The biggest dos and don'ts for multi-threading in Qt
While the concept of multithreading may be straightforward, code with threads is responsible for some wicked bugs, which can be nearly impossible to reproduce or track down. This makes writing bullet-proof code using threads a tall order. Let’s look a little deeper into why that is. First, you need better than average knowledge about the […]
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 — […]
Using Visual Studio Code for Writing Qt Applications
Software developers like tools, and in particular tools that make them more productive. So in this blog post, I am going to share with you some of the experiences some of us here at KDAB have had using Visual Studio Code for Qt development. Motivation of using Visual Studio Code instead of Qt Creator The […]