Include what you need: qquaternion.h

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.

Amends 6637773cbd.

Pick-to: 6.9 6.8
Change-Id: I114f58d1d443164eb419dab98623d06044419a81
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 944aa03dea)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2025-07-04 10:57:02 +02:00 committed by Qt Cherry-pick Bot
parent 9bbd8d17fc
commit 487f87c78c
1 changed files with 3 additions and 0 deletions

View File

@ -9,10 +9,13 @@
#include <QProtobufSerializer>
#include <QObject>
#include <QtGui/qrgb.h>
#include <QtGui/QPainter>
#include <QtGui/QColor>
#include <QtGui/QRgba64>
#include <QtGui/qquaternion.h>
#include <QtTest/QtTest>
#include <memory>