diff options
Diffstat (limited to 'examples/quickcontrols/chattutorial/chapter3/main.cpp')
-rw-r--r-- | examples/quickcontrols/chattutorial/chapter3/main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/quickcontrols/chattutorial/chapter3/main.cpp b/examples/quickcontrols/chattutorial/chapter3/main.cpp new file mode 100644 index 0000000000..4347d3ff6c --- /dev/null +++ b/examples/quickcontrols/chattutorial/chapter3/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:/chapter3/main.qml"))); + + return app.exec(); +} + |