summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/macgui/guitest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/macgui/guitest.cpp')
-rw-r--r--tests/auto/other/macgui/guitest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/other/macgui/guitest.cpp b/tests/auto/other/macgui/guitest.cpp
index 1f9ca0efcc..406ecfc8af 100644
--- a/tests/auto/other/macgui/guitest.cpp
+++ b/tests/auto/other/macgui/guitest.cpp
@@ -1,6 +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
+#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses
#include "guitest.h"
#include <QDebug>