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