변경 사항 Qt State Machine
Qt 6의 변경 사항은 프레임워크를 더 효율적이고 사용하기 쉽게 만들기 위한 의도적인 노력의 결과입니다.
저희는 각 릴리스에서 모든 공개 API에 대해 바이너리 및 소스 호환성을 유지하기 위해 노력하고 있습니다. 하지만 Qt를 더 나은 프레임워크로 만들기 위한 노력의 일환으로 일부 변경 사항은 불가피했습니다.
이 항목에서는 Qt State Machine 모듈의 변경 사항을 요약하고, 이를 처리하는 방법에 대한 지침을 제공합니다.
변경 사항
Qt StateMachine 모듈은 일반적으로 Qt 5 버전과 소스 호환되며, 라이브러리 사용자는 프로젝트에 변경을 가하지 않거나 사소한 변경만으로도 계속 사용할 수 있습니다.
QSignalTransition
QSignalTransition::senderObject() 게터와 관련 Q_PROPERTY 도 이제 const QObject*를 사용합니다. 이는 const QObject*를 매개변수로 받는 세터 QSignalTransition::setSenderObject(const QObject*)와 더 잘 정렬됩니다.
빌드 시스템
Qt 6 전반과 마찬가지로, Qt State Machine 모듈은 qmake 외에도 cmake를 지원합니다.
QML 임포트
QML 임포트의 버전 지정은 최신 버전을 사용하지 않을 구체적인 이유가 없는 한 선택 사항입니다. 일반적으로 버전 지정된 임포트는 5.8 버전부터 6.x 버전까지 작동하며, 여기서 'x'는 현재 마이너 릴리스를 의미합니다.
© 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.