源码编译Qt StateMachine

编译某个项目时报错提示fatal error: QSignalTransition: No such file or directory,是因为qtbase中没有包含StateMachine模块,需要qt/qtscxml.git - SCXML (state machine notation) compiler and related tools

编译安装qtscxml

执行如下步骤:

git clone https://code.qt.io/qt/qtscxml.git

cd qtscxml

mkdir build

cd build

qt-config-module ..

cmake --build . --parallel 16

cmake --install .

相关推荐
碰大点7 小时前
Ubuntu 16.04交叉编译arm-linux-gnueabihf的QT5.6.2
linux·arm开发·qt·ubuntu·arm-linux
钱彬 (Qian Bin)16 小时前
项目实践4—全球证件智能识别系统(Qt客户端开发+FastAPI后端人工智能服务开发)
人工智能·qt·fastapi
钱彬 (Qian Bin)16 小时前
项目实践3—全球证件智能识别系统(Qt客户端开发+FastAPI后端人工智能服务开发)
人工智能·qt·fastapi
江公望1 天前
Qt qmlplugindump浅谈
开发语言·qt·qml
彡皮1 天前
qt实用学习案例:数据库设计+图表显示+model-view模式+样式表定制
数据库·qt·学习
曦樂~1 天前
【Qt】文件操作/事件--mainwindow做编辑器
开发语言·qt
Larry_Yanan1 天前
QML学习笔记(四十六)QML与C++交互:Q_PROPERTY宏映射
c++·笔记·qt·学习·ui·交互
江公望1 天前
Qt enum ApplicationAttribute枚举值浅解
linux·qt
友友马1 天前
『 QT 』信号-槽 补充: Qt信号槽断开连接与Lambda槽技巧
开发语言·数据库·qt
Source.Liu1 天前
【CMakeLists.txt】 Qt 自动化构建配置详解
qt·自动化·librecad