前言 系统是ubuntu20 安装“qt-everywhere-src-6.5.2.tar.xz”报错,是opengl的问题,在/etc/profile 中手动指定了opengl路径都不行 资源下载路径 https://download.qt.io/archive/qt/6.5/6.5.2/single/ 解决方法 修改编译方式,不编译opengl ./configure -no-opengl -developer-build cmake --build .