Latest posts — page 7

Implementing Qt Signals and Slots in Pure C++

Signals and slots are my favourite Qt feature, as they make loose coupling between components or between layers super easy. I miss them most when I must write pure C++ code without the Qt goodies. I invite you to follow

Setting Up Yocto Projects with kas

Kas makes Yocto builds simple. Based on a YAML configuration file, kas starts a container, clones the layer repositories, initialises the conf files and starts building. Each Yocto version builds only on specific host Linux versions. The kas container frees Yocto builds from this restriction.

Building a CI Pipeline with CTest and CDash

We can use CMake, CTest and CDash to build a basic Continuous Integration (CI) pipeline. The pipeline builds the applications, runs the tests, collects coverage information and uploads all the results to a dashboard on a web server. All this

A Mock QCanBusDevice for TDD

I am using TDD to implement a hardware-independent mock QCanBusDevice. We can use MockCanBusDevice in unit, integration and acceptance tests - without access to a hardware CAN bus. A terminal application can also use it in its own process to