Robot Arm | Qt 6.11
Description: Demonstrates how to add a C++ backend to a 3D project from Qt Design Studio.

- Qt 6.11
- Robot Arm
- Qt 6.11.1 Reference Documentation

# Robot Arm

Demonstrates how to add a C++ backend to a 3D project from Qt Design Studio.

The Robot Arm example demonstrates adding a C++ backend to a 3D project created in Qt Design Studio. The example consists of an interactive industrial robot arm in a Qt Quick 3D scene. Qt Quick Controls implements the 2D UI to control the robot arm.

#### Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, see Qt Creator: Tutorial: Build and run.

For Qt Design Studio, the Robot Arm example comes with a QML module in `backend_moc/Backend/Backend_moc.qml` that serves as a backend for the project. The C++ application implements a compatible backend QML module. Both QML modules implement the same API, which ensures compatibility between the two modules.

`content/RoboticArm.ui.qml` defines the Qt Quick 3D scene. `content/MainScreen.ui.qml` implements the 2D UI and supports a light and dark theme. The example uses the Material style from Qt Quick Controls and the dark and light theme to implement both modes.

Note: The example makes use of the Qt Quick 3D module, which is a separate item in the Qt Online Installer. If the example fails to configure, please make sure that you have Qt Quick 3D package installed.

#### Source files

Example project @ code.qt.io

See also All Qt Examples and Qt Quick Examples and Tutorials.