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