Issue
I am trying to install Qt (this time 6.4), the online version, on Ubuntu 22.04. The installation was apparently smooth; I used the default options. However, when attempting to create a desktop project, I receive the message
/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.
Did I wrong something? How can I continue?
Solution
Install the OpenGL development packages like the following.
$ sudo apt install libglx-dev
Answered By - relent95 Answer Checked By - Gilberto Lyons (WPSolving Admin)