1、QT安装包下载
首先需要在qt官网注册一个账号,然后下载一个在线安装器qt-unified-linux-x64-4.7.0-online.run,注意,注册QT账号时建议使用qq邮箱,亲测163邮箱不好使,账号认证邮件无法收到。
2、在线安装完后,QT creator无法启动,报错如下:
Ubuntu22.04安装Qt之后启动Qt Creator失败,
报错内容如下:
from 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimalegl, scb, eglfs, minimal, linuxfb, vkkhrdisplay, offscreen, vnc, wayland, wayland-egl.
解决方法(需要安装 xcb-cursor0 库):
终端内执行:sudo apt-get update
sudo apt-get install libxcb-cursor0
原文链接:https://blog.csdn.net/weixin_44335538/article/details/135292413
标签:xcb,QT,ubuntu22.4,platform,cursor0,安装,Qt From: https://www.cnblogs.com/yyqf/p/18090533