Jesper K. Pedersen
282 results
Qt Creator Refactoring Part 2
9 November 2021
Qt Creator Refactoring Part 1
4 November 2021
Header Rows in View
27 October 2021
When tables or trees display varying data types, certain rows may need to stand out as headers for better organization and readability. This video series demonstrates setting up QTableView and QTreeView with header rows, and explains how models communicate to views which specific rows should be treated as headers rather than regular data rows.
Grepping in Qt Creator
20 October 2021
Checkable Header View
13 October 2021
Qt's model/view framework treats headers as views, making it easy to change properties like foreground color or font for header cells, just like table cells. However, one missing feature is checkbox support in headers. This video demonstrates adding header checkboxes, which is useful because unlike table content, headers don't scroll away when navigating through data.
Writing Qt Creator Debugging Helpers
7 October 2021
Speeding up the Start-up of GDB
30 September 2021
Reverse Debugging Using rr
23 September 2021
Setting up Radio Buttons in Button Groups in Qt Designer
16 September 2021
Enum Class and Model/View
7 September 2021
Compiling - Part 2
24 August 2021
Compiling - Part 1
17 August 2021
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.
Adding CPPreference to Qt Creator
10 August 2021
Upgrading to Qt Creator 4.15.1
3 August 2021
Compile Just This File
22 July 2021
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.
Finding Where Qt is Looking
15 July 2021
Deploying the plugins
8 July 2021
Creating the plugin
29 June 2021
Compiling your App as a Library
24 June 2021
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.
Before you create a plugin, your classes may be configured using constructors like: class Wishes { public: Wishes(bool isExclusive, const QColor& color, QWidget* parent); ... } But how do you handle these parameters if your constructors can't take anything but the parent pointer? This episode will discuss a few different possible solutions.


