diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-02-08 10:58:10 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-10 11:57:29 +0000 |
commit | 6ff43af117284bee42c52f8104a5cb93c873690f (patch) | |
tree | 82dbc1d462ebd0068706288d2c1312c3025612a1 /tests/manual/examples/receiver/main.cpp | |
parent | 6488ca4cfef43bd2b381e2e39ef4b94fe339bad2 (diff) | |
download | qtserialport-6ff43af117284bee42c52f8104a5cb93c873690f.tar.gz |
Move Senred and Receiver examples to manual tests
These examples have no description, so they are not visible in the docs
and in QtCreator anyway. The APIs that are shown by these examples are
also covered by other examples.
Still they can be useful while debugging, so move them to
tests/manual/examples.
Task-number: QTBUG-110645
Task-number: QTBUG-108868
Change-Id: I7d575372a4b0af57f4564b18f6d024347e812c7e
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
(cherry picked from commit b114f04ed2b900884a4df5bc2ce855addbd467c9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/manual/examples/receiver/main.cpp')
-rw-r--r-- | tests/manual/examples/receiver/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/examples/receiver/main.cpp b/tests/manual/examples/receiver/main.cpp new file mode 100644 index 0000000..f08a0ee --- /dev/null +++ b/tests/manual/examples/receiver/main.cpp @@ -0,0 +1,14 @@ +// Copyright (C) 2012 Denis Shienkov <denis.shienkov@gmail.com> +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include "dialog.h" + +#include <QApplication> + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + Dialog dialog; + dialog.show(); + return app.exec(); +} |