Memory bugs are tricky. Leaks have a clear impact on performance, and quickly become hard to spot when heap allocated objects move too much. Memory access bugs, on the other hand, make your program crash right away, if you’re lucky. In less desirable cases, they may end up corrupting random objects on the heap, and […]
Blog Archives
CMake for Qt Basics on using CMake for Qt applications
The build system for Qt 6 is moving to CMake. Should you use it yourself? What are the benefits of CMake, and how can it help transform your build system? Here are the basic facts you need to know to take advantage of CMake for building Qt applications.
Using Modern CMake with Qt
KDAB’s Kevin Funk presented Using Modern CMake with Qt at Qt Virtual Tech Con last month. He reported that the Qt Company did a great job moderating the sessions at this event, and there was a lively Q&A at the end – Kevin had to pick from about 60 questions, so this is a hot […]
QtCreator CMake for Android plugin
Santa Claus is coming to … wait a minute, it’s not Christmas yet! Status update: The patch was merged into master branch on Mar 6th, therefore it will be part of QtCreator 4.10(5.0?) not 4.9! I have the pleasure to let you know that KDAB has contributed to Qt with yet another super cool project! […]
Clang-Tidy, part 1: Modernize your source code using C++11/C++14 Automated refactoring of your source code using powerful open-source tooling
This blog series will introduce the clang-tidy utility from the Clang/LLVM project and show how to use it to automatically refactor
Context-sensitive CMake documentation in QtCreator
CMake 3.0 was released last week with many major new features and new Qt integration for uic and rcc. A major change with this CMake release is the new documentation system based on reStructuredText and Sphinx. Sphinx has the ability to generate Qt Assistant files, so these are now easy to create reproducibly from the […]
Using CMake with Qt 5 The basics of a powerful build system alternative to QMake
CMake is a buildsystem generator developed in the open, and widely used for Qt based development. Especially when creating large or complex software, CMake can be more suitable to use than QMake. KDE was even the tipping point for the popularity of CMake in general, and with Qt 4 in particular, according to Bill Hoffman. […]