summaryrefslogtreecommitdiffstats
path: root/tests/manual/shortcuts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/shortcuts')
-rw-r--r--tests/manual/shortcuts/CMakeLists.txt8
-rw-r--r--tests/manual/shortcuts/main.cpp3
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/manual/shortcuts/CMakeLists.txt b/tests/manual/shortcuts/CMakeLists.txt
index 23d468e228..6e821e327a 100644
--- a/tests/manual/shortcuts/CMakeLists.txt
+++ b/tests/manual/shortcuts/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Generated from shortcuts.pro.
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## shortcuts Binary:
@@ -8,10 +9,7 @@ qt_internal_add_manual_test(shortcuts
GUI
SOURCES
main.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::Widgets
)
-
-#### Keys ignored in scope 1:.:.:shortcuts.pro:<TRUE>:
-# TEMPLATE = "app"
diff --git a/tests/manual/shortcuts/main.cpp b/tests/manual/shortcuts/main.cpp
index e7127f3796..514d62a484 100644
--- a/tests/manual/shortcuts/main.cpp
+++ b/tests/manual/shortcuts/main.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QApplication>
#include <QVBoxLayout>
@@ -8,6 +8,7 @@
#include <QLabel>
#include <QPushButton>
#include <QDebug>
+#include <QtVersion>
class ShortcutTester : public QWidget
{