Qt 4.8: C++ Extensions: QWidgets Example

Qt Reference Documentation

# C++ Extensions: QWidgets Example

Files:

- declarative/cppextensions/qwidgets/qwidgets.cpp
- declarative/cppextensions/qwidgets/qwidgets.qml
- declarative/cppextensions/qwidgets/qwidgets.pro
- declarative/cppextensions/qwidgets/qwidgets.qmlproject
- declarative/cppextensions/qwidgets/QWidgets/qmldir

This example shows how to embed QWidget-based objects into QML using QGraphicsProxyWidget.