Jesper K. Pedersen
292 results
My Git Hooks for C++/Qt Projects
15 February 2022
Git supports running local scripts at different times, including during commits or pushes. This episode discusses useful hooks including preventing commits with FIXME's, ensuring use of specific classes like KDVTableView instead of QTableView, and avoiding QDate::currentDate which breaks unit tests.
My Git Workflow in the Shell and from Qt Creator
10 February 2022
qDebug - Power User
19 January 2022
Backing up Source Files Every 10 Minutes on Linux
13 January 2022
Running clang-tidy and clazy from Qt Creator
29 December 2021
Qt Creator includes two powerful static code analysis tools: clang-tidy and clazy, which work out of the box with recent versions. These tools warn about potential errors, performance problems, and code that could be improved, helping developers identify issues before they become bugs or performance bottlenecks in production.
Testing QAbstractItemModels on the Fly
16 December 2021
Model/View programming is notoriously difficult. Your carefully crafted models may work fine with single views but struggle with multiple views or proxy models added later. Qt's QAbstractItemModelTester helps catch these issues. This video demonstrates an automatic testing class and explains what the model tester actually does to validate your models.
For more than a year Jesper Pedersen has hosted a Youtube series focusing on Qt Widgets and everything around developing with it. In this talk, Jesper will highlight some of the most important take aways, including coding tips, and especially those relating to the model/view framework, Qt Creator power tips, and general tips relating to a software development tool.
Using Bookmarks in Qt Creator
9 December 2021
Header Spanning Multiple Columns
16 November 2021
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


