summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmimedatabase
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qmimedatabase')
-rw-r--r--tests/manual/qmimedatabase/CMakeLists.txt7
-rw-r--r--tests/manual/qmimedatabase/main.cpp4
2 files changed, 4 insertions, 7 deletions
diff --git a/tests/manual/qmimedatabase/CMakeLists.txt b/tests/manual/qmimedatabase/CMakeLists.txt
index 4ec5fc387b..d8e94f61c8 100644
--- a/tests/manual/qmimedatabase/CMakeLists.txt
+++ b/tests/manual/qmimedatabase/CMakeLists.txt
@@ -1,7 +1,5 @@
# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
-# Generated from qmimedatabase.pro.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## qmimedatabase Binary:
@@ -11,6 +9,3 @@ qt_internal_add_manual_test(qmimedatabase
SOURCES
main.cpp
)
-
-#### Keys ignored in scope 1:.:.:qmimedatabase.pro:<TRUE>:
-# TEMPLATE = "app"
diff --git a/tests/manual/qmimedatabase/main.cpp b/tests/manual/qmimedatabase/main.cpp
index 7b2c6dddd6..a28a64a2e7 100644
--- a/tests/manual/qmimedatabase/main.cpp
+++ b/tests/manual/qmimedatabase/main.cpp
@@ -1,5 +1,7 @@
// 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
+
+#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses
#include <QtCore/QMimeDatabase>
#include <QtCore/QMimeType>