3#include <QGuiApplication>
9int 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...
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QQuickView class provides a window for displaying a Qt Quick user interface.
QQuickItem * rootObject() const
Returns the view's root \l {QQuickItem} {item}.
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QUrl fromLocalFile(const QString &localfile)
Returns a QUrl representation of localFile, interpreted as a local file.
void show()
Shows the window.
QApplication app(argc, argv)
[0]