aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/sidepanel/sidepanel.cpp
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-02-22 09:54:38 +0100
committerSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-03-03 07:37:00 +0000
commitc2b09e89da502b72c92300d4c69317b2fd0c160b (patch)
treec1725fc4ebfb3cc81c9c8fedb0e0536f5f1f781d /tests/manual/quickcontrols/sidepanel/sidepanel.cpp
parentb7e2a4fb5c398284ffaae49a06fb0ff4e21179fd (diff)
Remove side-panel and swipe-to-remove quickcontrol examples
The quickcontrol feature represented in side-panel and swipe-to-remove were already part of gallery example and hence, removing these two examples Fixes: QTBUG-110989 Pick-to: 6.5.0 Change-Id: I496dfe7ee2bea98f918b4e3b72673388c51cda6b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/manual/quickcontrols/sidepanel/sidepanel.cpp')
-rw-r--r--tests/manual/quickcontrols/sidepanel/sidepanel.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/sidepanel/sidepanel.cpp b/tests/manual/quickcontrols/sidepanel/sidepanel.cpp
new file mode 100644
index 0000000000..c78329d9de
--- /dev/null
+++ b/tests/manual/quickcontrols/sidepanel/sidepanel.cpp
@@ -0,0 +1,17 @@
+// 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("qrc:/sidepanel.qml"));
+ if (engine.rootObjects().isEmpty())
+ return -1;
+
+ return app.exec();
+}