로봇 팔
Qt Design Studio 에서 만든 3D 프로젝트에 C++ 백엔드를 추가하는 방법을 보여줍니다. 이 예제에서는 Qt Design Studio 에서 만든 3D 프로젝트에 C++ 백엔드를 추가하는 방법을 보여줍니다. 예제 자체는 Qt Quick 3D 씬의 인터랙티브 산업용 로봇 팔로 구성되어 있습니다. 로봇 팔을 제어하기 위한 2D UI는 Qt Quick Controls 를 사용하여 구현됩니다.
Qt Design Studio 의 경우 로봇 팔 예제에는 Qt Design Studio 과 함께 사용할 때 프로젝트의 백엔드 역할을 하는 backend_moc/Backend/Backend_moc.qml의 간단한 QML 기반 QML 모듈이 함께 제공됩니다. C++ 애플리케이션은 호환 가능한 백엔드를 C++ 기반 QML 모듈로 구현합니다. 두 QML 모듈은 동일한 API를 구현하므로 두 모듈 간의 호환성을 보장합니다.
로봇 팔의 Qt Quick 3D 씬은 content/RoboticArm.ui.qml에 정의되어 있습니다. 2D UI는 content/MainScreen.qml에 구현되어 있으며 반응형이며 밝고 어두운 모드도 지원합니다. 이 예제에서는 Qt Quick Controls 의 머티리얼 스타일과 어둡고 밝은 테마를 사용하여 두 모드를 모두 구현합니다.
예제 실행하기
에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 예제 빌드 및 실행하기를 참조하세요.
참고: 이 예제에서는 별도의 항목인 Qt Quick 3D 모듈을 사용하며, 이는 Qt Online Installer. 예제 구성에 실패하면 Qt Quick 3D 패키지가 설치되어 있는지 확인하세요.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.