set Qt6Gui_FOUND to FALSE so package “Qt6Gui“ is considered to be NOT FOUND.

/usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47: warning: Found package configuration file: /opt/Qt/6.5.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. Configuring with -DCMAKE_FIND_DEBUG_MODE=TRUE 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. /opt/Qt/6.5.0/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency) /opt/Qt/6.5.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:39 (_qt_internal_find_qt_dependencies) /opt/Qt/6.5.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include) /opt/Qt/6.5.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package) CMakeLists.txt:13 (find_packa

猜你喜欢

转载自blog.csdn.net/weixin_49369227/article/details/129915221