![]() |
Qt 6.x
The Qt SDK
|
#include <QtQml>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
[2] | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
[2]
[3]
[2]
[2]
[4]
[2]
This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]
[0]
[0]
Definition at line 6 of file main.cpp.
References app, engine, QJSEngine::evaluate(), QJSEngine::globalObject(), qDebug, QJSValue::setProperty(), and QJSValue::toNumber().