diff options
Diffstat (limited to 'examples/quickcontrols/chattutorial/chapter1/main.cpp')
| -rw-r--r-- | examples/quickcontrols/chattutorial/chapter1/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/quickcontrols/chattutorial/chapter1/main.cpp b/examples/quickcontrols/chattutorial/chapter1/main.cpp new file mode 100644 index 0000000000..3752f91d90 --- /dev/null +++ b/examples/quickcontrols/chattutorial/chapter1/main.cpp @@ -0,0 +1,16 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include <QGuiApplication> +#include <QQmlApplicationEngine> + +int main(int argc, char *argv[]) +{ + QGuiApplication app(argc, argv); + + QQmlApplicationEngine engine; + engine.load(QUrl(QStringLiteral("qrc:/chapter1/main.qml"))); + + return app.exec(); +} + |
