首页 > 其他分享 >报错module ....... is not installed

报错module ....... is not installed

时间:2022-12-16 20:34:20浏览次数:41  
标签:路径 ....... module installed importpath 报错

qt中QQuickWidget窗口加载qmldir模块文件时,出现module ....... is not installed,是因为没有给引擎指定importpath路径,只需在加载qml之前给引擎添加importpath路径路径即可。如下图第二行

 

 添加的的qmdir文件在资源文件qrc中的路径。

 

标签:路径,.......,module,installed,importpath,报错
From: https://www.cnblogs.com/tgc-3/p/16988239.html

相关文章