summaryrefslogtreecommitdiffstats
path: root/examples/charts/chartsgallery/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/chartsgallery/main.cpp')
-rw-r--r--examples/charts/chartsgallery/main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/charts/chartsgallery/main.cpp b/examples/charts/chartsgallery/main.cpp
new file mode 100644
index 00000000..b6f7acae
--- /dev/null
+++ b/examples/charts/chartsgallery/main.cpp
@@ -0,0 +1,18 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include "mainwidget.h"
+
+#include <QApplication>
+#include <QListView>
+#include <QStringListModel>
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+
+ MainWidget w;
+ w.show();
+
+ return a.exec();
+}