diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-04-10 14:00:44 +0200 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-04-15 19:27:07 +0200 |
| commit | fb4abf95c1a320002e5ea77877371966460a9fa6 (patch) | |
| tree | 30b652fbb77fc034a6ca6e6dd13845558dd6c159 /tests/auto/quickcontrols/snippets/tst_snippets.cpp | |
| parent | b417a509f5636161e9fb6beed19f32f7a40dac7c (diff) | |
Tests: include QTest, not QtTest
Never use module-wide inclusions. They blow up build times. For QtTest
this is usually just a typo (QTest was meant instead). Add missing
includes as needed.
In the diffs I've spotted other huge inclusions (QtQuick, QtQml), but
those need more attention.
Task-number: QTQAINFRA-7110
Pick-to: 6.9 6.8
Change-Id: I74bf3fe212f50a7a3a6af2b1c80bbcaabc2516d7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/quickcontrols/snippets/tst_snippets.cpp')
| -rw-r--r-- | tests/auto/quickcontrols/snippets/tst_snippets.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quickcontrols/snippets/tst_snippets.cpp b/tests/auto/quickcontrols/snippets/tst_snippets.cpp index 18e4471ff5..f588405f9d 100644 --- a/tests/auto/quickcontrols/snippets/tst_snippets.cpp +++ b/tests/auto/quickcontrols/snippets/tst_snippets.cpp @@ -1,7 +1,8 @@ // Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only -#include <QtTest> +#include <QSignalSpy> +#include <QTest> #include <QtQuick> #include <QtQuickControls2/qquickstyle.h> #include <QtQuickControls2/private/qquickstyle_p.h> |
