Adding a new widget to your toolbox might be as simple as subclassing from QWidget and add two child widgets plus a layout, or it might
be a multi-month job where you need to polish every single pixel. In any case there are a few things to think about, and that is exactly what we will discuss in this episode.
In this second episode on layout managers, we will discuss how to make widgets stretch, and how to get spaces into your layout. We will discuss that both when you code it in C++, and when you do it in Qt Designer.
In this first of two episodes on layout managers, we will introduce the layout manager. In addition to that we will show an example where you can NOT use a layout manager. Finally, Jesper will tell a story about ones he had to implement a motif compatible layout manager in Qt.
If you work on C++ projects on Windows that need to be built with multiple Visual Studio C++ compiler versions, you need some way to manage the installations of all these build environments. Either you have multiple IDEs installed, or you know about build tools (https://aka.ms/vs/17/release/vs_BuildTools.exe) and maybe keep only the latest full VS IDE […]
In this fourth episode in the tour of common widgets in Qt, we will talk about item widgets - more specifically QComboBox and QListWidget.
KDAB’s newest open-source library is now publicly available: KDSPDSetup! KDSPDSetup is a small library written in modern C++ (≥ 20) that initializes objects from the spdlog library by reading a toml configuration file. This makes setting up loggers more convenient and results in cleaner-looking code. Let's take a look at an example to see how […]
In this mini tour of the most common widgets in Qt, we will turn our attention to widgets organizing other widgets, namely: QGroupBox, QTabWidget, QToolBox, QStackedWidget, QScrollArea and QAbstractScrollArea.
In this episode, we will continue looking at the most common widgets in Qt, focusing our attention to QPushButton, QRadioButton, QCheckbox, QSlider, QProgressBar and QSpinBox.
In this and the next three episodes, we will look at the most common widgets in Qt, their API, how you are supposed to work with them, and most noticeable some of the hidden gems.
The robustness of Linux is widely acknowledged, but it can't quite match the microsecond management of a real-time operating system (RTOS) for time critical situations such as CNC machine instructions, vehicular control, or health sensor collection. If your software must record, manage, or control events within a narrow and precise time window and you’re invested […]
For the 14th time, KDAB exhibited at Embedded World - The meeting place for the global embedded community! Here, as expected, you got three days of pioneering technologies, solutions, new ideas, and intelligent concepts. Embedded World took place in Nürnberg, Germany from 9 - 11 April 2024 and the KDAB booth was in Hall 4-302 […]
The Need for Simple & Modular QR Generation in QML Recently, our designer Nuno Pinheiro needed to generate QR codes for an Android app in QML and started asking around about a simple way to do this. The best existing QML solution was QZXing, a Qt/QML wrapper for the 1D/2D barcode image processing library ZXing. […]
It's not always easy to find the right way to set up VS Code for Qt development on Windows. In this video, we will review the different steps needed, with a very concrete example. By following the steps in this video, you will be able to use VS Code as your main IDE for Qt development on Windows.
Choosing the right system-on-chip (SoC) is probably your first consideration when designing an embedded product, followed closely by deciding whether to use an off-the-shelf board or design your own. The case for commercial boards in initial designs For the first product in a new line, consider using a commercially available board that features your chosen […]
With your WSL (Windows Subsystem for Linux) set up for C++ and Qt development in the previous video (linked below), we'll now show you how to connect to WSL from Visual Studio Code running on your Windows host OS for painless cross-platform development.
If you're a C++ developer, with or without Qt, on Windows, and sometimes need to test your application on Linux, there's an easy way to build and test it without rebooting now. Microsoft introduced Windows Subsystem for Linux. A mechanism to run a lightweight virtual machine with a Linux distribution with just a few clicks with elegant integration with the host OS. I'll show you how to install it and configure for working with C++ and Qt applications.
When designing an embedded product, there’s a lot riding on those crucial first decisions of choosing a hardware vendor and board. Clearly, the hardware you select must be powerful enough to support your product, a challenging determination given that software is usually still in the planning stages at this point in the process. Plus, planning […]
This episode of KDAB News includes: What is the Cyber Resilience Act?; Tip of the Month - Mixing C++ and Rust: Part 2; Announcements; KDAB Training Schedule; Qt Champions.
In the beginning, there was C. That sentence actually could serve as the introduction to a multitude of blog posts, all of which would come to the conclusion "legacy programming conventions are terrible, but realistically we can't throw everything out and start over from scratch". However, today we will merely be looking at two ways […]
In this short episode, Jesper will provide you with a few links to some Qt Widgets and More episodes to watch before he returns with the next module. In addition to that, he will offer a few parting notes on when to use Qt Designer at all.