이 페이지에서

Qt SCXML

Qt SCXML 모듈은 SCXML 파일을 기반으로 상태 머신을 생성하는 기능을 제공합니다. 여기에는 상태 머신을 동적으로 생성하는 기능(SCXML 파일 불러오기 및 상태와 전환 인스턴스화)과 상태 머신을 구현하는 클래스가 포함된 C++ 파일을 생성하는 기능이 모두 포함됩니다. 또한 데이터 모델 및 실행 가능한 콘텐츠를 지원하는 기능도 포함되어 있습니다.

시작하기

Qt SCXML 를 사용하려면 Qt State Machine 추가 라이브러리를 설치하십시오.

QML 타입을 애플리케이션으로 가져오려면 .qml 파일에서 다음 import 문을 사용하십시오:

import QtScxml

모듈에 링크하려면:

cmake 사용:

find_package(Qt6 REQUIRED COMPONENTS Scxml)
target_link_libraries(mytarget PRIVATE Qt6::Scxml)

qmake 사용:

QT += scxml

기사 및 가이드

예제

참조

모듈 발전

' Qt SCXML '에는 Qt 6 시리즈를 위해 모듈 API 및 기능에 적용된 주요변경 사항이 나열되어 있습니다.

라이선스 및 상표

Qt SCXML 모듈은 The Qt Company의 상용 라이선스에 따라 제공됩니다. 또한, 이 모듈은 GNU Lesser General Public License 버전 3 또는 GNU General Public License 버전 2와 같은 자유 소프트웨어 라이선스 하에서도 제공됩니다. 자세한 내용은 Qt 라이선싱을 참조하십시오.

© 2026 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.