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 <jonas.karlsson@qt.io>
commit098bd223ce5696352e5625c8a8fda563d7f5514b
parentb2b5a6e38eb244929d3c9b0da2be5698e9ecbfee
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 4 Jul 2025 15:04:44 +0200