Better_Software_Header_Mobile Better_Software_Header_Web

Find what you need - explore useful information and developer resources

Areas of Interest

Searching…

645 results

Having covered the effect of Ninja, Clang and CCache in the previous video, Jesper now turns his attention to the speed up gains that can be had with very little work on your side, when using precompiled header support.

One of CMake's strongest points is making it easy to provide and use libraries, in the same project or in different projects. This video explains the feature in more details and shows a simple example.

This is the first in a mini-series on speeding up compilation, and tells the story of switching back to Linux and discovering what worked best in speeding up compile time. The story covers Make vs Ninja, Clang vs Gcc and the effect of using CCache. Whilst some of the material is indeed Linux specific, other sections apply just as well on Mac and Windows.

This video shows and explains the source code of a CMake build definition file (CMakeLists.txt) for a simple Qt application. Although the example is based on Qt 5, the same CMakeLists.txt can be used with Qt 6, by simply replacing '5' with '6' everywhere.

This video shows how to get access to documentation of std::any_of from within Qt Creator.

This video introduces the CMake series, starting with: What is CMake? It will also mention the pre-requisites for this series and the topics that will be covered by the other videos in this series.

As the title would suggest, this video compares QMake and CMake, and explains why The Qt Company switched to CMake for Qt 6.

Always try to run the latest version of the tools you're using. They bring bugfixes and more features. Thankfully, upgrading Qt Creator is just a matter of a few clicks -- in the right tool, if you can find it. In this video, Jesper shows how it's done.

This video compares the multithreading facilities in Qt with those provided by the C++ standard library. Which one has a semaphore class? A thread pool implementation? A movable lock guard? Which one has the most convenient condition variable API?

In this edition, we have: KDAB takes over code browser from woboq - an interview with Olivier Goffart and Till Adam. We also offer the Releases of Qt Creator 5.0 Beta, KD Soap 2.0 and KDDockWidgest 1.4, our Tool of the Month KD Toolbox, Events, Announcements and Resources.

Number 30 in the Qt Widgets and More series, this video address the issue where, if you are doing a larger refactoring involving central files, you might end up recompiling over and over again while fixing just a single source file. In these situations, using Qt Creator's ability to recompile only a single file is very useful. But there's more.

In this video, you will learn about communicating between two threads using Qt signals and slots and what is really happening under the hood when you do that. With the help of didactic diagrams, you will learn different ways to set this all up, including possible pitfalls.

This video will show you how you debug loading of the plugins, using strace on Linux and procmon on Windows.

This video provides answers to the following questions: Can you call methods on an object shared between threads? Can you call the same method in different objects? What about QObject, is it thread-safe?

In the previous episodes, we created and compiled a plugin for Qt designer. The final part missing is to deploy the files in the right directories.This episode discusses the CMake magic that makes that happen.

If you think bool is atomic (and therefore needs no mutex) or if you think volatile is useful in multithreaded programs, you should watch this video. Also, you will learn two different ways to implement asking for a QThread's run() method to finish.

This session from June 2021 offered an interview with Kai Uwe Broulik of KDE, information on the Qt Widgets and More video series and announced the releases of Qt 6.2 Alpha and Qt for MCUs 1.9. This was followed by our Tool of the Month: Range-v3, Event announcements and an addition to our Resources page: 'Practical Programmers Guide to C++20’.

In this fourth episode of our mini series on developing plugins for Qt Designer, we finally implement the classes that make up the plugin.

Making widgets into standalone plugins can be challenging if they weren't carefully designed during development. A solution is restructuring your application into a library plus simple main function using that library. This episode covers everything needed for this architectural transformation to enable proper widget plugin extraction.

After a short presentation of a QThread without an event loop, this video will tell you about threads with an event loop. This allows handling events for objects in secondary threads, which is necessary in order to be able to call slots on these objects.The video then presents two different ways to do this: creating both the thread and the worker at the same level, or encapsulating the thread into the worker.