Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt - Linux Centos wont... do stuff?

Qt - Linux Centos wont... do stuff?

Scheduled Pinned Locked Moved Solved General and Desktop
linuxcentos
2 Posts 1 Posters 884 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dariusz
    wrote on 12 Feb 2022, 13:12 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Dariusz
      wrote on 12 Feb 2022, 13:14 last edited by Dariusz 2 Dec 2022, 13:14
      #2

      Wops fixed https://doc.qt.io/qt-6/linux.html

      sudo yum install mesa-libGL-devel

      1 Reply Last reply
      1

      2/2

      12 Feb 2022, 13:14

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved