转:ubuntu12.04(64位)安装QT5.6.2出现的问题总结

  • 摘要:记录一下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完成安装。

    主要问题:

    This application failed to start because it could not find or load the Qt platform plugin " This application failed to start because it could not find or load the Qt platform plugin "

    This application failed to start because it could not find or load the Qt platform plugin "

    百度了一下将Qt5.6.2中的platforms文件夹移到Qt5.6.2/Tools/QtCreator/bin中,仍然无法运行。


    解决问题:

    于是从提示的/platforms中的xcb程序函数库入手,即/platforms/libqxcb.so


    ldd查看libqxcb.so的依赖库:

    This application failed to start because it could not find or load the Qt platform plugin "

    发现其中的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*"This application failed to start because it could not find or load the Qt platform plugin "查找到了新安装的libEGL.so.1于是尝试重新运行qtcreatorThis application failed to start because it could not find or load the Qt platform plugin "
    之前遇到的问题解决,成功运行QT creatorThis application failed to start because it could not find or load the Qt platform plugin "

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值