Effective QML
summary
Eighteen concrete best practices across four areas: tooling, engine internals, coding patterns and performance. Use the QML profiler and Gammaray, run qmllint in CI, add live QML reload and animation speed shortcuts, and prefer Loader + active/async image to defer work. Understand object ownership and use setObjectOwnership to avoid double deletes; distinguish parent vs parentItem. Keep UI state in C++, avoid C++ accessing QML (one-way: QML calls C++), move heavy JS to C++ and reduce overdraw; enable Qt Quick Compiler for ~10% faster bindings.
AI-written summary · about
chapters (6)
- 0:00Introduction to QML
- 1:11Understanding QML tooling
- 13:18QML engine internals
- 23:16QML coding best practices
- 41:42QML performance tips
- 52:35Closing and Q&A
related talks
59mBetter UI/HMI development workflows with Qt/QML
01h 12mQt Quick for C++ Developers
01h 13mQt Tips and Tricks
27mQML Rapid Prototyping
26mPractical application scripting with QML
46mQt Quick Designer
01h 10mQt Quick - Rapid User Interface Prototyping
42mHow to Improve Productivity with Qt on Mobile, Desktop & Embedded
