diff options
author | Marc Mutz <[email protected]> | 2025-07-04 10:00:18 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-07-04 10:52:21 +0200 |
commit | c172b40ac6b2424c7faced30c78241fe50d80f5b (patch) | |
tree | 3ff0fcfd64efaef3d0917a8c047dcaa6dac676ef /tests/auto | |
parent | 441b4bcec17385953d97459ece1b37ba3946af69 (diff) |
qmatrix4x4.h will lose its qquaternion.h include, so include
qquaternion.h explicitly in all files that mention 'QQuaternion',
unless, for a foo.cpp, the own foo.h has already included it.
Picking all the way back, even though the include removal won't be
picked as far back, because it's the correct thing to do and cannot
fail.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I417307626f61b47f694b18424f8c2941f7b8a31c
Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'tests/auto')
5 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/animation/qkeyframeanimation/tst_qkeyframeanimation.cpp b/tests/auto/animation/qkeyframeanimation/tst_qkeyframeanimation.cpp index 2623e1929..057b2300c 100644 --- a/tests/auto/animation/qkeyframeanimation/tst_qkeyframeanimation.cpp +++ b/tests/auto/animation/qkeyframeanimation/tst_qkeyframeanimation.cpp @@ -6,6 +6,8 @@ #include <qobject.h> #include <qsignalspy.h> +#include <QtGui/qquaternion.h> + class tst_QKeyframeAnimation : public QObject { Q_OBJECT diff --git a/tests/auto/animation/skeleton/tst_skeleton.cpp b/tests/auto/animation/skeleton/tst_skeleton.cpp index 7bf227e34..0904f9c7b 100644 --- a/tests/auto/animation/skeleton/tst_skeleton.cpp +++ b/tests/auto/animation/skeleton/tst_skeleton.cpp @@ -11,6 +11,8 @@ #include <qbackendnodetester.h> #include <testarbiter.h> +#include <QtGui/qquaternion.h> + using namespace Qt3DCore; using namespace Qt3DAnimation; using namespace Qt3DAnimation::Animation; diff --git a/tests/auto/core/qjoint/tst_qjoint.cpp b/tests/auto/core/qjoint/tst_qjoint.cpp index 8444b1511..824418054 100644 --- a/tests/auto/core/qjoint/tst_qjoint.cpp +++ b/tests/auto/core/qjoint/tst_qjoint.cpp @@ -8,6 +8,8 @@ #include <QSignalSpy> #include <testarbiter.h> +#include <QtGui/qquaternion.h> + using namespace Qt3DCore; class tst_QJoint : public QObject diff --git a/tests/auto/core/qtransform/tst_qtransform.cpp b/tests/auto/core/qtransform/tst_qtransform.cpp index 3b6fe93e0..c527962e3 100644 --- a/tests/auto/core/qtransform/tst_qtransform.cpp +++ b/tests/auto/core/qtransform/tst_qtransform.cpp @@ -7,7 +7,11 @@ #include <Qt3DCore/qtransform.h> #include <Qt3DCore/qcomponent.h> #include <Qt3DCore/private/qtransform_p.h> + +#include <QtGui/qquaternion.h> + #include <QtCore/qscopedpointer.h> + #include "testarbiter.h" using namespace Qt3DCore; diff --git a/tests/auto/global/aspects_startup_shutdown/tst_aspects_startup_shutdown.cpp b/tests/auto/global/aspects_startup_shutdown/tst_aspects_startup_shutdown.cpp index b10e11699..7bea75053 100644 --- a/tests/auto/global/aspects_startup_shutdown/tst_aspects_startup_shutdown.cpp +++ b/tests/auto/global/aspects_startup_shutdown/tst_aspects_startup_shutdown.cpp @@ -24,6 +24,8 @@ #include <Qt3DExtras/QSphereMesh> #include <Qt3DExtras/QTorusMesh> +#include <QtGui/qquaternion.h> + #include <QPropertyAnimation> #include <QThread> |