Exporting C++ Models to QML

Exporting C++ Models to QML

This webcast shows how to export C++ models to QML for use with Qt Quick views such as ListView. A small application is created in two ways. Topics include creating a "struct" with QObject, subclassing QAbstractListModel, adding a JavaScript interface to the model, and nesting models. The sample code can be found here.