summaryrefslogtreecommitdiffstats
path: root/tests/manual/qprintdevice_dump
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qprintdevice_dump')
-rw-r--r--tests/manual/qprintdevice_dump/CMakeLists.txt8
-rw-r--r--tests/manual/qprintdevice_dump/main.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/manual/qprintdevice_dump/CMakeLists.txt b/tests/manual/qprintdevice_dump/CMakeLists.txt
index 78334c603b..e4393ff624 100644
--- a/tests/manual/qprintdevice_dump/CMakeLists.txt
+++ b/tests/manual/qprintdevice_dump/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Generated from qprintdevice_dump.pro.
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## qprintdevice_dump Binary:
@@ -8,10 +9,7 @@ qt_internal_add_manual_test(qprintdevice_dump
GUI
SOURCES
main.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::PrintSupportPrivate
)
-
-#### Keys ignored in scope 1:.:.:qprintdevice_dump.pro:<TRUE>:
-# TEMPLATE = "app"
diff --git a/tests/manual/qprintdevice_dump/main.cpp b/tests/manual/qprintdevice_dump/main.cpp
index b7c7ee2194..9d1de96221 100644
--- a/tests/manual/qprintdevice_dump/main.cpp
+++ b/tests/manual/qprintdevice_dump/main.cpp
@@ -1,5 +1,7 @@
// Copyright (C) 2014 John Layt <jlayt@kde.org>
-// 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
+
+#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses
#include <qpa/qplatformprintplugin.h>
#include <qpa/qplatformprintersupport.h>