Qt Design Studio fixes


This patch adds a different code path for when the simulation is running
inside of a qml puppet, determined by the QML_PUPPET_MODE environment
variable. In this code path we just render the debug models of the
physics bodies on every frame but do not run any physical simulation so
all objects are shown in their starting position. This means that
changing the 'running' property of PhysicsWorld is ignored. Note that
only physics objects that are part of a PhysicsWorld will be rendered
and they will be rendered inside the scene or viewport this PhysicsWorld
is referencing. If running outside of a puppet the code path is the same
as before.

Task-number: QDS-9413
Pick-to: 6.5 6.6
Change-Id: Ifeb002a6d009981c92c00348271b10545dc4a885
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
commit82b3afeabe36126b9a6e0988b097fd4cd1694665
parent779ad55c1170a68147a3c2597c0d825fe27d8581
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeWed, 6 Sep 2023 07:53:50 +0200