summaryrefslogtreecommitdiffstats
path: root/tests/manual/textrendering/glyphshaping
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/textrendering/glyphshaping')
-rw-r--r--tests/manual/textrendering/glyphshaping/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/textrendering/glyphshaping/main.cpp b/tests/manual/textrendering/glyphshaping/main.cpp
index b9f94d46b5..a31c98f840 100644
--- a/tests/manual/textrendering/glyphshaping/main.cpp
+++ b/tests/manual/textrendering/glyphshaping/main.cpp
@@ -1,6 +1,8 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses
+
#include <QApplication>
#include <QDir>
#include <QFile>