From 098bd223ce5696352e5625c8a8fda563d7f5514b Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 4 Jul 2025 11:16:45 +0200 Subject: 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. 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. Also remove the qquaternion.h include from qphysicscommands_p.h, which doesn't need it, and replace it with qgenericmatrix.h for QMatrix3x3. Appears to amend all the way back to the initial commit, 55c81ede6a45f1fd1f7c5ad299b230f5878b8d70. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I551efcbc03a8f6b56e4a7f8531075c273d39b497 Reviewed-by: Jonas Karlsson --- src/quick3dphysics/qabstractphysicsnode.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/quick3dphysics/qabstractphysicsnode.cpp') diff --git a/src/quick3dphysics/qabstractphysicsnode.cpp b/src/quick3dphysics/qabstractphysicsnode.cpp index b19b81c..3358cd3 100644 --- a/src/quick3dphysics/qabstractphysicsnode.cpp +++ b/src/quick3dphysics/qabstractphysicsnode.cpp @@ -6,6 +6,9 @@ #include #include "qphysicsworld_p.h" + +#include + QT_BEGIN_NAMESPACE /*! -- cgit v1.2.3