The last mile - Effective Debugging and Profiling for Qt and Qt Quick
summary
Practical, tool-focused guidance for debugging and profiling Qt and Qt Quick applications: use qDebug/qWarning plus dumpObjectInfo/dumpObjectTree and QT_FATAL_WARNINGS to capture where output originates; enable qDebugPlugins, Qt WebKit/Phonon debug flags and platform linker diagnostics to track plugin and media failures; run valgrind (memcheck/callgrind/massif) and visualize results with kcachegrind/massif-visualizer (watch slowdown and event-loop effects); use GammaRay and the built-in Qt Creator integration for object inspection, layout, model stacks and QML/QtScript debugging.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:55The Classic
- 2:12printf Debugging
- 9:19GDB Console in QtCreator
- 11:22Documenting Assumptions
- 23:08What are they talking about?
- 29:01Memcheck
- 32:39Callgrind
- 36:24Massif Visualizer
- 40:23QScriptEngineDebugger
- 41:47QWebinspector
- 44:30Shoot-A-Bug
- 46:18Model Test
- 48:34One more thing.
- 50:45Widgets and Layouting
- 52:19QGraphics View
- 54:57Model/View
- 56:17QTextDocument
related talks
49mQuickly and Effectively Testing Qt Desktop Applications
25mTest It!
27mTest and profile Android applications with Qt
29mAre you testing enough - Qt application Quality Assurance
01h 01mBack to Basics: Debugging in Cpp
58mIntroduction to Automated Testing for Qt Applications
57mQuickly Testing Qt Desktop Applications with Approval Tests
36mDAAS: Debugging as a skill!
