diff options
Diffstat (limited to 'tests/manual/examples/widgets/draganddrop/puzzle/main.cpp')
-rw-r--r-- | tests/manual/examples/widgets/draganddrop/puzzle/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/manual/examples/widgets/draganddrop/puzzle/main.cpp b/tests/manual/examples/widgets/draganddrop/puzzle/main.cpp new file mode 100644 index 0000000000..32e219256a --- /dev/null +++ b/tests/manual/examples/widgets/draganddrop/puzzle/main.cpp @@ -0,0 +1,15 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include "mainwindow.h" + +#include <QApplication> + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + MainWindow window; + window.loadImage(QStringLiteral(":/images/example.jpg")); + window.show(); + return app.exec(); +} |