diff options
Diffstat (limited to 'tests/manual/gestures')
-rw-r--r-- | tests/manual/gestures/scrollarea/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/manual/gestures/scrollarea/main.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/gestures/scrollarea/CMakeLists.txt b/tests/manual/gestures/scrollarea/CMakeLists.txt index 7ea3ed5b6b..02ea63d040 100644 --- a/tests/manual/gestures/scrollarea/CMakeLists.txt +++ b/tests/manual/gestures/scrollarea/CMakeLists.txt @@ -10,6 +10,8 @@ qt_internal_add_manual_test(scrollarea SOURCES main.cpp mousepangesturerecognizer.cpp mousepangesturerecognizer.h + NO_PCH_SOURCES + main.cpp # undef QT_NO_FOREACH LIBRARIES Qt::Gui Qt::Widgets diff --git a/tests/manual/gestures/scrollarea/main.cpp b/tests/manual/gestures/scrollarea/main.cpp index e8764a5ded..0a149d4f05 100644 --- a/tests/manual/gestures/scrollarea/main.cpp +++ b/tests/manual/gestures/scrollarea/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 <QSlider> #include <QScrollArea> |