QtCreator Linux ubuntu24.04问题集合

入门操作:

左侧边栏目没了:https://blog.csdn.net/weixin_44511670/article/details/144979040

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.是需要~/.bashrc改成如下形式:

bash 复制代码
#Qt5
export QtDir='/home/david/MySoft/Qt5.15/5.15.0/gcc_64'
export PATH=${QtDir}/bin:${PATH}
export LD_LIBRARY_PATH=${QtDir}/lib:${LD_LIBRARY_PATH}
export QT_PLUGIN_PATH=${QtDir}/plugins:${QT_PLUGIN_PATH}
export QML2_IMPORT_PATH=${QtDir}/qml:${QML2_IMPORT_PATH}
export QT_QPA_PLATFORM_PLUGIN_PATH=${QtDir}/plugins/platforms:${QT_QPA_PLATFORM_PLUGIN_PATH}
export DISPLAY=:1

尤其增加:export DISPLAY=:1 24.0

相关推荐
多弗朗皮卡丘8 小时前
网络基础:数据链路层与其他协议或技术
linux·网络·tcp/ip
Sakura_j_h_11 小时前
MCP SDK 2.0 实战:用 MCPServer 搭本地笔记检索服务
开发语言·笔记·python·qt·ai工具·mcp·mcpserver
xx z12 小时前
directx修复工具下载(DirectX Repair 增强版 使用说明)
windows·系统·工具·软件
dingdingfish14 小时前
TLPI 第52章 读书笔记:POSIX Message Queues
linux·mq·ipc·posix·message·tlpi
xx z14 小时前
pcl2启动器下载(Minecraft PCL2 启动器 最新版 安装与使用说明)
windows·游戏·工具·软件
wacsii15 小时前
【Linux进程(五)】进程控制全解析:从创建、终止、等待到程序替换
linux·服务器
七夜zippoe15 小时前
Nexent Linux 部署:用 deploy.sh
linux·服务器·docker·部署·ai智能体·nexent
去码头整点薯条9815 小时前
NFS服务器
linux·运维·服务器
蜗牛一步步往上爬16 小时前
第一章 初识Linux shell
linux·运维·服务器