学习Qt有一点时间了,但之前都是在debug版本下进行编译运行,偶然切换到release版本下,却出现了如下错误:
错误提示:
Reinstall the application may fix this problem.
|
上网 Baidu / Google一下,得到如下解决方法:
复制 Qt安装目录下的./Tools/QtCreator/bin/qt.conf 文件和 整个的 ./Tools/QtCreator/bin/plugins/platforms 文件夹到 release 目录下即可。
qt.conf 的内容如下:
[Paths]
Libaries=../lib/qtcreator
Plugins=plugins
Imports=imports
Qml2Imports=qml ./plugins/platforms 目录中包含三个动态库文件:qminimal.dll 、 qoffscreen.dll 、qwindows.dll 。 |
相关热门文章
- 轻量级web server Tornado代码...
- Apple become a Thermostat ma...
- 移动互联网移植—信必优信息技...
- 回收站被清理的文件可怎么找回...
- Linux系统中的gdb程序调试工具...
给主人留下些什么吧!~~
评论热议