源码编译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 .

相关推荐
__BMGT()15 小时前
C++ QT生成GIF,处理原始图像RGBA数据,窗口生成简单的动画
开发语言·c++·qt
wirepuller_king15 小时前
QT软件开发环境及简单图形的绘制-图形学(实验一)-[成信]
开发语言·qt
君的名字17 小时前
怎么判断一个Android APP使用了Qt 这个跨端框架
android·开发语言·qt
qq_4112624217 小时前
一个基于 ESP-IDF 的 RPC over UDP 示例
qt·rpc·udp·四博智联·doit
潇-xiao21 小时前
Qt window frame + windowTitle + windowIcon属性(3)
c++·笔记·qt
青春:一叶知秋21 小时前
【Qt开发】Qt核心属性
开发语言·qt
苏克贝塔1 天前
使用 Qt QGraphicsView/QGraphicsScene 绘制色轮
开发语言·qt
..过云雨1 天前
01. Qt介绍及Qt开发环境搭建(2025.05最新官网下载方式)
开发语言·qt
范纹杉想快点毕业1 天前
Google C++ Style Guide 谷歌 C++编码风格指南,深入理解华为与谷歌的编程规范——C和C++实践指南
c语言·数据结构·c++·qt·算法
幸运黒锦鲤1 天前
Qt5、C++11 获取wifi列表与wifi连接
开发语言·qt