Add basic joints support


Adding the more straightforward joint types. All joint classes have a
base class QPhysicsJoint in common, which contains the bodies and the
orientations of the joint. The subclasses then have their own specific
properties for that joint.

Similar to PhysicsNode, the joints tries to find what scene they
belong to on creation and destruction through
QPhysicsWorld::registerJoint() and QPhysicsWorld::deregisterJoint().

Also includes some tests and Design Studio QML files.

[ChangeLog] Add basic joints support with DistanceJoint, FixedJoint,
PrismaticJoint, RevoluteJoint and SphericalJoint qml elements.

Fixes: QTBUG-144578
Change-Id: I2b9748cd243d3c949e7501c4c3e2f939bbd72ab8
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Andrei Yankovich <EndrIIMail@gmail.com>
commit8041a3dac91097635ea2394a4e374e3fe54b7a9b
parent8e2e1cffc32fe8b74360093793be130cf7338b33
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeTue, 19 May 2026 08:51:41 +0000