ubuntu10.04下Qt5.3.1自带的qtcreator无法启动的问题!

adq1_2 2014-07-28 02:37:50
Qt5.3.1/Tools/QtCreator/bin$ ./qtcreator
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
已放弃

求解!
...全文
435 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
BenQQQQQQQ 2015-01-26
  • 打赏
  • 举报
回复
引用 3 楼 jiangcaiyang123 的回复:
Ubuntu 10.04有些老了,最好升级到最新的Ubuntu。或者试试这个方法:
引用
Development packages for these libraries contain header files that are used when building Qt from its source code. On Debian-based GNU/Linux systems, for example, we recommend that you install the following development packages: libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev Additionally, if you do not configure with -qt-xcb, you should also install these development packages: libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev Some of these packages depend on others in this list, so installing one may cause others to be automatically installed. Other distributions may provide system packages with similar names.
我安装完这些就可以了
Xinzhi_Li_8ef3da 2014-12-23
  • 打赏
  • 举报
回复
我也遇到了。。。求助。。目测原因: 之前装过一次qt,因为第一次装,后来卸载的时候,傻逼的用apt-get 卸载了一些别的东西,结果现在要用 qt了,重新装,就不行了。。
bynonelse 2014-08-26
  • 打赏
  • 举报
回复
请问楼主问题解决了吗?我也遇到了同样的问题,求解,谢谢
adq1_2 2014-07-29
  • 打赏
  • 举报
回复
引用 3 楼 jiangcaiyang123 的回复:
Ubuntu 10.04有些老了,最好升级到最新的Ubuntu。或者试试这个方法:
引用
Development packages for these libraries contain header files that are used when building Qt from its source code. On Debian-based GNU/Linux systems, for example, we recommend that you install the following development packages: libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev Additionally, if you do not configure with -qt-xcb, you should also install these development packages: libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev Some of these packages depend on others in this list, so installing one may cause others to be automatically installed. Other distributions may provide system packages with similar names.
是比较老了,但是限于一个硬件驱动只能在10.04下运行,所以没办法...
彩阳 2014-07-28
  • 打赏
  • 举报
回复
Ubuntu 10.04有些老了,最好升级到最新的Ubuntu。或者试试这个方法:
引用
Development packages for these libraries contain header files that are used when building Qt from its source code. On Debian-based GNU/Linux systems, for example, we recommend that you install the following development packages: libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev Additionally, if you do not configure with -qt-xcb, you should also install these development packages: libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev Some of these packages depend on others in this list, so installing one may cause others to be automatically installed. Other distributions may provide system packages with similar names.
adq1_2 2014-07-28
  • 打赏
  • 举报
回复
引用 1 楼 jiangcaiyang123 的回复:
看看 sudo apt get install libx11-xcb-dev
装了,仍然不行!
彩阳 2014-07-28
  • 打赏
  • 举报
回复
看看 sudo apt get install libx11-xcb-dev

16,215

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧