概述
1. Ubuntu 22.04新安装 QT6新建工程build报错:
/opt/Qt/Tools/CMake/share/cmake-3.23/Modules/CMakeFindDependencyMacro.cmake:47: warning: Found package configuration file: /opt/Qt/6.4.0/gcc_64/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be NOT FOUND. Reason given by package: Qt6Gui could not be found because dependency WrapOpenGL could not be found.
sudo apt install libglx-dev
sudo apt install libgl1-mesa-dev
2. CMAKE: “No CMAKE_CXX_COMPILER could be found.”
sudo apt install cmake
最后
以上就是雪白白猫为你收集整理的【QT6】报错记录的全部内容,希望文章能够帮你解决【QT6】报错记录所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复