-
摘要:记录一下ubuntu中安装QT时遇到的问题。学习ITOP4412中——资料给的QT5.3.1安装运行没有问题,然后想更新最新的QT5.6.2。离线下载qt-opensource-linux-x64-5.6.2.run,ubuntu完成安装。主要问题:百度了一下将Qt5.6.2中的platforms文件夹移到Qt5.6.2/Tools/QtCreator/bin中,仍然无法运行。解决问题:于是从提示的/platforms中的xcb程序函数库入手,即/platforms/libq
记录一下ubuntu中安装QT时遇到的问题。
学习ITOP4412中——资料给的QT5.3.1安装运行没有问题,然后想更新最新的QT5.6.2。
离线下载qt-opensource-linux-x64-5.6.2.run,ubuntu完成安装。
主要问题:
百度了一下将Qt5.6.2中的platforms文件夹移到Qt5.6.2/Tools/QtCreator/bin中,仍然无法运行。
解决问题:
于是从提示的/platforms中的xcb程序函数库入手,即/platforms/libqxcb.so
ldd查看libqxcb.so的依赖库:
发现其中的libEGL.so.1——not found
于是find / -name "libEGL.so.1*“ 发现并没有安装这个so
于是尝试安装apt-get install -f libegl1-mesa
失败出现:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing
更新apt-get updata重新安装apt-get install -f libegl1-mesa 安装成功重新find / -name "libEGL.so.1*"查找到了新安装的libEGL.so.1于是尝试重新运行qtcreator
之前遇到的问题解决,成功运行QT creator
转:ubuntu12.04(64位)安装QT5.6.2出现的问题总结
最新推荐文章于 2023-04-23 16:53:18 发布