5int main(
int argc,
char *argv[])
static int exec()
Enters the main event loop and waits until exit() is called, then returns the value that was set to e...
The QQuickView class provides a window for displaying a Qt Quick user interface.
void setSource(const QUrl &)
Sets the source to the url, loads the QML component and instantiates it.
void setInitialProperties(const QVariantMap &initialProperties)
Sets the initial properties initialProperties with which the QML component gets initialized after cal...
static QUrl fromLocalFile(const QString &localfile)
Returns a QUrl representation of localFile, interpreted as a local file.
void show()
Shows the window.
void makeDocTeamHappyByKeepingExampleCompilable()
[0]
QApplication app(argc, argv)
[0]