linux下qt程序不能运行,然后报了这么个提示,怎么处理?
error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
[解决办法]
找不到libQtGui.so.4
[解决办法]
安装Qt库。或者开发包。
[解决办法]
没有Qt开发环境,缺少程序运行需要链接的库。
在本地搭环境吧
[解决办法]
如果只是运行的话,找一个相关系的版本就行,不想编译的话:)就像windows下的dll一样。找一个同平台通用的。
[解决办法]