计算机系统应用教程网站

网站首页 > 技术文章 正文

ubuntu24.04 qt6安装记录

btikc 2025-01-07 11:05:27 技术文章 19 ℃ 0 评论



右键点击下载文件夹空白处,打开终端,运行命令如下图所示

输入帐号和密码(可先到qt官网注册一个)

同意这2个选项,下一步

选择不发送信息,下一步

安装目前默认是在用户目录下,建议不用修改,目录的权限很重要

功能选择这里根据自己需要选择

等安装完成


打开遇到错误,跳出这个提示

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: linuxfb, wayland-egl, minimal, xcb, minimalegl, eglfs, wayland, offscreen, vnc, vkkhrdisplay.

输入以下2行命令

sudo apt-get update
sudo apt-get install libxcb-cursor0

命令执行完毕后再打开qt



Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表