qml 错误*** is not a type

2024-12-09 07:36:01

1、在qt中添加了qml文件,但是运行的时候出现了错误*** is not a type

2、先确认没有编写和语法错误,经过检查发现原来是将文件名称首字母没有大写的缘故。

qml 错误*** is not a type

4、将文件名称首字母改写为大写字母。

qml 错误*** is not a type

6、没有终止错误,会提示没有:没有权限;拒绝访问:-1: error: cannot open output file debug\example.exe: Permission denied使用上面的方法终止程序。

qml 错误*** is not a type

8、终止程序的地方

qml 错误*** is not a type
猜你喜欢