Revision control

+ // Copyright (C) 2026 The Qt Company Ltd.
+ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+ #include <QtGui/qguiapplication.h>
+ #include <QtQml/qqmlapplicationengine.h>
+
+ int main(int argc, char *argv[])
+ {
+ QGuiApplication app(argc, argv);
+ qputenv("QT_QUICK_CONTROLS_STYLE", "Basic");
+ QQmlApplicationEngine engine;
+ engine.load(QUrl(QStringLiteral("qrc:/qml/qml2dbarmodelmapper/main.qml")));
+ if (engine.rootObjects().isEmpty())
+ return -1;
+
+ return app.exec();
+ }
+