关于 QWidget+Qml程序部署到linux时,'module"QtQuick”is not installed' 的解决方法
2017-12-15 09:17
706 查看
需求
部署QWidget+Qml程序到定制ubuntu上现象
程序QWidget起来,但Qml,查看运行调试输出,错误提示:module “QtQuick” is not installed
...
原因
Qt有默认的查找qml的路径,应该在makefile里面可看到。解决方法
1.先找到qml库
2.移动到准备放置的目录下
3.添加环境变量到脚本(根据自己系统,在运行前加入即可)
4.补充
没有用到的库,可以删除掉,因本人是标准ubuntu,直接copy库,未自己编译qt源码。相关文章推荐
- QtQuick程序在ubuntu测试机上运行提示module "QtQuick.Controls" is not installed
- Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- Red Hat Linux使用yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- PIL写入字体出现ImportError:The _imagingft C module is not installed 错误的解决方法
- [转]Linux之"xxx is not in the sudoers file"解决方法
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- MPI编译C++程序出现#error "SEEK_SET is #defined but must not be for the C++ binding of MPI" 的解决方法
- Python安装Imaging报错:The _imaging C module is not installed问题解决方法
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- 关于Public key for *.rpm is not installed 的解决方法
- 关于写入文件缓存时报"java.io.FileNotFoundException open failed (is a director)"错误的解决方法
- 解决Windows下PIL库的"The _imagingft C module is not installed"错误
- Python安装Imaging报错:The _imaging C module is not installed问题解决方法
- 关于Public key for *.rpm is not installed 的解决方法
- 安装PIL时_imagingft C module is not installed错误的解决方法
- parameter "bandwidth_type" is not a formal parameter of instantiated module的解决方法
- yum 安装报 关于Public key for *.rpm is not installed 的解决方法
- 【使用Ubuntu SDK】入门篇——qtcreator 运行qmlscene时 module "Ubuntu.Components" is not installed 错误分析和解决
- 关于Public key for *.rpm is not installed 的解决方法
- 关于"cannot be resolved or is not a field"错误的解决方法