Qt - Linux Centos wont... do stuff?
Solved
General and Desktop
-
Hey
Just installed linux for 1st in my live... soooo I followed maintance tools to install qt/creator. Made new projects and...
Running /home/dariusz/Documents/Qt/Tools/CMake/bin/cmake -S /home/dariusz/CLionProjects/rnd/qtTestCreator/untitled -B /home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug -GNinja -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_PROJECT_INCLUDE_BEFORE:PATH=/home/dariusz/Documents/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake -DQT_QMAKE_EXECUTABLE:STRING=/home/dariusz/Documents/Qt/6.2.3/gcc_64/bin/qmake -DCMAKE_PREFIX_PATH:STRING=/home/dariusz/Documents/Qt/6.2.3/gcc_64 -DCMAKE_C_COMPILER:STRING=/usr/bin/gcc -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ in /home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug. -- The CXX compiler identification is GNU 11.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) -- Configuring incomplete, errors occurred! See also "/home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug/CMakeFiles/CMakeOutput.log". CMake Warning at /home/dariusz/Documents/Qt/Tools/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/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. Call Stack (most recent call first): /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:91 (_qt_internal_find_dependencies) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package) CMakeLists.txt:15 (find_package) CMake Warning at /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered to be NOT FOUND. Reason given by package: Qt6Widgets could not be found because dependency Qt6Gui could not be found. Call Stack (most recent call first): CMakeLists.txt:15 (find_package) CMake Error at CMakeLists.txt:15 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Widgets". Expected Config file at "/home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists CMake process exited with exit code 1. Elapsed time: 00:01. Running /home/dariusz/Documents/Qt/Tools/CMake/bin/cmake -S /home/dariusz/CLionProjects/rnd/qtTestCreator/untitled -B /home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug in /home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug. -- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR) -- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) CMake Warning at /home/dariusz/Documents/Qt/Tools/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/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. Call Stack (most recent call first): /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:91 (_qt_internal_find_dependencies) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include) /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package) CMakeLists.txt:15 (find_package) -- Configuring incomplete, errors occurred! See also "/home/dariusz/CLionProjects/rnd/qtTestCreator/build-untitled-Desktop_Qt_6_2_3_GCC_64bit-Debug/CMakeFiles/CMakeOutput.log". CMake Warning at /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake but it set Qt6Widgets_FOUND to FALSE so package "Qt6Widgets" is considered to be NOT FOUND. Reason given by package: Qt6Widgets could not be found because dependency Qt6Gui could not be found. Call Stack (most recent call first): CMakeLists.txt:15 (find_package) CMake Error at CMakeLists.txt:15 (find_package): Found package configuration file: /home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Widgets". Expected Config file at "/home/dariusz/Documents/Qt/6.2.3/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" exists CMake process exited with exit code 1. Elapsed time: 00:00.
What do I dooo O.O
I'm vming my centos9 via vmware.
ANy hints would be great :D Do I need to install some components or yum some libraries or something?
-
Wops fixed https://doc.qt.io/qt-6/linux.html
sudo yum install mesa-libGL-devel