ILD

build qt6 on fedora
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2025-6-1 站点:Inside Linux Development

编译报错:

ERROR: The OpenGL functionality tests failed! You might need to modify the OpenGL package search path by setting the OpenGL_DIR CMake variable to the OpenGL library's installation directory.


缺少opengl库,根据文档:

Qt for Linux/X11

https://doc.qt.io/qt-6/linux.html


需要安装:

sudo yum install mesa-libGL-devel


注意一定要清掉编译产物。否则,会使用之前的缓存,一直报错!!!

Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.