In the previous episode we presented how to uncover 32 Qt best practices at compile time with clazy. Today it’s time to show 5 more and other new goodies present in the freshly released clazy v1.2.
Warns when the content of
Q_RETURN_ARG() is not normalized. Using normalized signatures allows to avoid unneeded memory allocations.
// warning: Signature is not normalized. Use void mySlot(int) instead of void mySlot(const int)…
After many months of work, I’m very pleased to finally announce KDAB’s latest R&D project to the public: hotspot – a GUI for the Linux perf profiler.
I have used Linux perf a lot over the past years. …
Because it is so easy to setup QZXing in a Qt application, we and most of our customers end up using it when they need to scan images for barcodes. There is, or rather was, a big problem though: When you want to analyze a live camera video stream, e.g. from a phone camera, the latency can …
This is the first in a series of blog posts on QStringView, the
std::u16string_view equivalent for Qt. You can read about QStringView in my original post to the Qt development mailing-list, follow its status by tracking the “qstringview” topic on Gerrit and learn about string views in general in Marshall Clow’s CppCon 2015 talk, aptly named “string_view”.
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
You may have wondered what all the fuss is about. Why is there a continuous stream of commits going to into Qt replacing
Q_FOREACH with C++11 ranged for-loops? And why does it take so many commits and several Qt versions to port away …
I’d like to start a new series of Qt on Android articles, these will be small articles which will focus on useful features that you’ll need on Android but which don’t have any Qt API (yet). I’ll start with two pretty useful functions. These functions will help us to run C++ code directly on Android UI thread without writing any Java code. Qt 5.7 will bring will bring the same functionality.
Until Qt 5.7 is out, we need to …
What is GammaRay?
For starters, it’s a powerful electromagnetic wave, as well as a way to treat cancer. It’s also an under-appreciated German speed metal band. And it’s what gives Dr. Bruce Banner his big green alter ego. But Qt aficionados will know the GammaRay that we’re talking about is an uber-powerful Qt debugger and introspection tool. If you’re not using it already, read on to find out why it should be part of your go-to toolkit.
You want to build the cleanest code, the smartest code, the fastest code. You’re the alpha geek on your team, or maybe you aspire to be. You have an all-encompassing need to know.
Let me introduce a new series we’re going to be running here on the KDAB blog. I’m Andy Gryc, and for the majority of my career I was a software engineer. Now, among other things, I’m a writer. A writer who understands software. I’m going to be …
KDAB is pleased to announce that the Qt 5.5.0 release includes a Technology Preview of the Qt3D module. Qt3D provides a high-level framework to allow developers to easily add 3D content to Qt applications using either QML or C++ APIs. The Qt3D module is released with the Technology Preview status. This means that Qt3D will continue to see improvements across the API design, supported features and performance before release. It is provided to start collecting feedback from users and to …