5#include <QGuiApplication>
8int 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 show()
Shows the window.
#define QStringLiteral(str)
QApplication app(argc, argv)
[0]