Missing package error
-
wrote on 3 Jan 2024, 00:02 last edited by
Hello everyone, I'm very new to QT so I'll basic things may not look easy to me
I'm following voidrealms youtube QT tutorial I tried to create a project and got this error:<html><body><code style="white-space:pre;font-family:Source Code Pro">
/home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6Gui/Qt6GuiConfig.cmakebut 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.
Configuring with --debug-find-pkg=WrapOpenGL might reveal details why the
package was not found.Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.Call stack:
<a href="olpfile:///home/kingston/Qt/gui/CMakeLists.txt::10::-1">/home/kingston/Qt/gui/CMakeLists.txt:10</a> (find_package)
<a href="olpfile:///home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake::156::-1">/home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:156</a> (find_package)</code></body></html>I have no idea what this means cause I don't think I missed anything when I downloaded the application
Is there a way to resolve this? -
Hello everyone, I'm very new to QT so I'll basic things may not look easy to me
I'm following voidrealms youtube QT tutorial I tried to create a project and got this error:<html><body><code style="white-space:pre;font-family:Source Code Pro">
/home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6Gui/Qt6GuiConfig.cmakebut 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.
Configuring with --debug-find-pkg=WrapOpenGL might reveal details why the
package was not found.Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.Call stack:
<a href="olpfile:///home/kingston/Qt/gui/CMakeLists.txt::10::-1">/home/kingston/Qt/gui/CMakeLists.txt:10</a> (find_package)
<a href="olpfile:///home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake::156::-1">/home/kingston/Qt/6.6.1/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:156</a> (find_package)</code></body></html>I have no idea what this means cause I don't think I missed anything when I downloaded the application
Is there a way to resolve this? -
How did you install Qt?
Try to install these two
$ sudo apt install libglx-dev libgl1-mesa-dev
-
1/3