Qt Quick for C++ Developers
summary
Shows concrete C++ integration: uses QDeclarativeEngine, QDeclarativeContext and QDeclarativeView to embed QML into a QWidget app, calls qmlRegisterType and setContextProperty to expose C++ objects and data, and registers a QDeclarativeExtensionPlugin with a qmldir. Demonstrates a custom QDeclarativeItem that paints with QPainter, a QStringListModel used by ListView delegates, and instantiates QML via QDeclarativeComponent. Targets Qt 4.7 and Qt Creator 2.1, cites ~2–3k declarative tests, and reports working examples and good scalability with ongoing scene-graph and JIT optimizations.
AI-written summary · about
chapters (7)
- 0:00Introduction to Qt Quick
- 10:10Embedding QML in C++ apps
- 23:27Exposing data and objects
- 34:10Extending QML with plugins
- 45:28Using QML with widgets
- 53:11Qt Quick future and resources
- 1:00:19Q&A session
related talks
55mEffective QML
59mBetter UI/HMI development workflows with Qt/QML
46mQt Quick Designer
51mIntroduction Qt Creator Qt Technology Strategy
26mPractical application scripting with QML
43mLightning Talk, A new way for creating QML models from C++
41mMeet Qt Creator IDE
56mUsing Qt Quick for Rapid UI Prototyping and Development
