Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87880

quick3d/offlineshaders: Unknown CMake command "qt6_quick3d_build_shaders"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.0.0 Beta3
    • 6.0.0 Beta2
    • Quick: 3D
    • Ubuntu20.04 x64
    • Linux/X11
    • a5f80180c8a6dc964076e302b07aeca2c4595512

    Description

      Example quick3d/offlineshaders fails with:

      Skipping check for license update: Perpetual license.
      Running /home/johanna/RTA/qt5/Tools/CMake/bin/cmake -S /home/johanna/RTA/qt5/Examples/Qt-6.0.0/quick3d/offlineshaders -B /tmp/QtCreator-TeKwgx/qtc-cmake-XHNwTWvC -GNinja -DCMAKE_BUILD_TYPE:String=Debug -DQT_QMAKE_EXECUTABLE:STRING=/home/johanna/RTA/qt5/6.0.0/gcc_64/bin/qmake -DCMAKE_PREFIX_PATH:STRING=/home/johanna/RTA/qt5/6.0.0/gcc_64 -DCMAKE_C_COMPILER:STRING=/usr/bin/gcc -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ in /tmp/QtCreator-TeKwgx/qtc-cmake-XHNwTWvC.
      -- The CXX compiler identification is GNU 7.5.0
      -- 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 - Failed
      -- Check if compiler accepts -pthread
      -- Check if compiler accepts -pthread - yes
      -- Found Threads: TRUE  
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE  
      -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
      -- Found WrapOpenGL: TRUE  
      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.8.2", minimum required is "0.5.0") 
      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      CMake Warning (dev) at /home/johanna/RTA/qt5/6.0.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:467 (message):
        Please replace add_qt_gui_executable with qt_add_executable instead.  The
        former will be removed shortly.
      Call Stack (most recent call first):
        CMakeLists.txt:23 (add_qt_gui_executable)
      This warning is for project developers.  Use -Wno-dev to suppress it.CMake Error at CMakeLists.txt:59 (qt6_quick3d_build_shaders):
        Unknown CMake command "qt6_quick3d_build_shaders".
      -- Configuring incomplete, errors occurred!
      

      Attachments

        For Gerrit Dashboard: QTBUG-87880
        # Subject Branch Project Status CR V

        Activity

          People

            anmaatta Antti Määttä
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes