diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-26 13:39:09 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-26 23:15:02 +0200 |
commit | 65e7303ec906fb64930772a06fed647f41b54391 (patch) | |
tree | dcd6bf9b8030c8ebaabdbba0347896722db2f083 /tests/manual/examples/widgets/widgets/digitalclock/main.cpp | |
parent | e46fb69a87c46e812cc09b3f131462c99aae85d8 (diff) |
Move digital clock example to manual test
Pick-to: 6.5 6.6
Change-Id: I043c0060a71d9de2f3e74aab0759d07a20880c3a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/manual/examples/widgets/widgets/digitalclock/main.cpp')
-rw-r--r-- | tests/manual/examples/widgets/widgets/digitalclock/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/examples/widgets/widgets/digitalclock/main.cpp b/tests/manual/examples/widgets/widgets/digitalclock/main.cpp new file mode 100644 index 0000000000..d930e72f23 --- /dev/null +++ b/tests/manual/examples/widgets/widgets/digitalclock/main.cpp @@ -0,0 +1,14 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +#include <QApplication> + +#include "digitalclock.h" + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + DigitalClock clock; + clock.show(); + return app.exec(); +} |