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

qtdeclarative fails to find qtshadertools when building examples

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.2.0 RC2
    • Build System: CMake
    • None
    • Linux/X11

    Description

      When trying to build 6.2 RC2 on openSUSE:

       

       

      [ 59s] + cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:STRING=/usr -S . -B build -GNinja -DQT_DISABLE_RPATH:BOOL=ON '-DCMAKE_C_FLAGS:STRING=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' '-DCMAKE_CXX_FLAGS:STRING=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' '-DCMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_MODULE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_SHARED_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined'
      [ 59s] -- The CXX compiler identification is GNU 11.2.1
      [ 59s] -- The C compiler identification is GNU 11.2.1
      [ 59s] -- Detecting CXX compiler ABI info
      [ 60s] -- Detecting CXX compiler ABI info - done
      [ 60s] -- Check for working CXX compiler: /var/lib/build/ccache/bin/c++ - skipped
      [ 60s] -- Detecting CXX compile features
      [ 60s] -- Detecting CXX compile features - done
      [ 60s] -- Detecting C compiler ABI info
      [ 60s] -- Detecting C compiler ABI info - done
      [ 60s] -- Check for working C compiler: /var/lib/build/ccache/bin/cc - skipped
      [ 60s] -- Detecting C compile features
      [ 60s] -- Detecting C compile features - done
      [ 60s] -- Looking for pthread.h
      [ 60s] -- Looking for pthread.h - found
      [ 60s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      [ 60s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      [ 60s] -- Found Threads: TRUE 
      [ 60s] -- Performing Test HAVE_STDATOMIC
      [ 61s] -- Performing Test HAVE_STDATOMIC - Success
      [ 61s] -- Found WrapAtomic: TRUE 
      [ 61s] -- Found OpenGL: /usr/lib64/libOpenGL.so 
      [ 61s] -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
      [ 61s] -- Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR) 
      [ 61s] -- Check for feature set changes
      [ 61s] -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.12") 
      [ 61s] -- Tool 'Qt6::qmltyperegistrar' will be built from source.
      [ 61s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) 
      [ 61s] -- Performing Test HAVE_pointer_32bit
      [ 61s] -- Performing Test HAVE_pointer_32bit - Failed
      [ 61s] -- Performing Test HAVE_pointer_64bit
      [ 62s] -- Performing Test HAVE_pointer_64bit - Success
      [ 62s] -- Performing Test HAVE_arm_thumb
      [ 62s] -- Performing Test HAVE_arm_thumb - Failed
      [ 62s] -- Performing Test HAVE_arm_fp
      [ 62s] -- Performing Test HAVE_arm_fp - Success
      [ 62s] -- Using installed syncqt found at: /usr/lib64/qt6/libexec/syncqt.pl
      [ 62s] -- Running syncqt for module: 'QtQml' 
      [ 62s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) 
      [ 62s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS
      [ 63s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success
      [ 63s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED
      [ 63s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
      [ 63s] -- Running syncqt for module: 'QtQmlModels' 
      [ 63s] -- Running syncqt for module: 'QtQmlCore' 
      [ 63s] -- Running syncqt for module: 'QtQmlWorkerScript' 
      [ 63s] -- Running syncqt for module: 'QtQmlLocalStorage' 
      [ 63s] -- Running syncqt for module: 'QtQmlXmlListModel' 
      [ 63s] -- Running syncqt for module: 'QtQuick' 
      [ 64s] -- Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) 
      [ 64s] -- Running syncqt for module: 'QtQuickShapes' 
      [ 64s] -- Running syncqt for module: 'QtQuickLayouts' 
      [ 64s] -- Running syncqt for module: 'QtQuickTest' 
      [ 64s] -- Running syncqt for module: 'QtQuickParticles' 
      [ 64s] -- Running syncqt for module: 'QtQuickWidgets' 
      [ 64s] -- Running syncqt for module: 'QtQuickTemplates2' 
      [ 65s] -- Running syncqt for module: 'QtQuickControls2Impl' 
      [ 65s] -- Running syncqt for module: 'QtQuickControls2' 
      [ 69s] -- Running syncqt for module: 'QtQuickDialogs2Utils' 
      [ 69s] -- Running syncqt for module: 'QtQuickDialogs2QuickImpl' 
      [ 69s] -- Running syncqt for module: 'QtQuickDialogs2' 
      [ 70s] -- Running syncqt for module: 'QtLabsSettings' 
      [ 70s] -- Running syncqt for module: 'QtLabsQmlModels' 
      [ 70s] -- Running syncqt for module: 'QtLabsFolderListModel' 
      [ 70s] -- Running syncqt for module: 'QtLabsAnimation' 
      [ 70s] -- Running syncqt for module: 'QtLabsWavefrontMesh' 
      [ 70s] -- Running syncqt for module: 'QtLabsSharedImage' 
      [ 70s] -- Running syncqt for module: 'QtPacketProtocol' 
      [ 70s] -- Running syncqt for module: 'QtQmlDom' 
      [ 70s] -- Running syncqt for module: 'QtQmlCompiler' 
      [ 70s] -- Tool 'Qt6::qmlcachegen' will be built from source.
      [ 71s] -- Running syncqt for module: 'QtQmlDebug' 
      [ 71s] -- Tool 'Qt6::qmldom' will be built from source.
      [ 71s] -- Tool 'Qt6::qmllint' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlimportscanner' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlformat' will be built from source.
      [ 71s] -- Tool 'Qt6::qml' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlprofiler' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlpreview' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlscene' will be built from source.
      [ 71s] -- Tool 'Qt6::qmltime' will be built from source.
      [ 71s] -- Tool 'Qt6::qmlplugindump' will be built from source.
      [ 71s] -- Tool 'Qt6::qmltestrunner' will be built from source.
      [ 71s] -- The following packages have been found:
      [ 71s] 
      [ 71s] * Qt6BuildInternals (required version >= 6.2.0)
      [ 71s] * Qt6CoreTools (required version >= 6.2.0)
      [ 71s] * Qt6Core (required version >= 6.2.0)
      [ 71s] * OpenGL
      [ 71s] * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
      [ 71s] * Vulkan
      [ 71s] * Qt6GuiTools (required version >= 6.2.0)
      [ 71s] * Qt6Gui (required version >= 6.2.0)
      [ 71s] * PkgConfig
      [ 71s] * Qt6Network (required version >= 6.2.0)
      [ 71s] * Qt6WidgetsTools (required version >= 6.2.0)
      [ 71s] * Qt6Widgets (required version >= 6.2.0)
      [ 71s] * WrapVulkanHeaders
      [ 71s] * Qt6OpenGL (required version >= 6.2.0)
      [ 71s] * Qt6OpenGLWidgets (required version >= 6.2.0)
      [ 71s] * Qt6Sql (required version >= 6.2.0)
      [ 71s] * Qt6Concurrent (required version >= 6.2.0)
      [ 71s] * Qt6ShaderToolsTools (required version >= 6.2.0)
      [ 71s] * PythonInterp
      [ 71s] * Qt6Test (required version >= 6.2.0)
      [ 71s] * Qt6 (required version >= 6.2.0)
      [ 71s] 
      [ 71s] -- The following OPTIONAL packages have not been found:
      [ 71s] 
      [ 71s] * OpenSSL
      [ 71s] * WrapOpenSSLHeaders
      [ 71s] * WrapOpenSSL
      [ 71s] * LTTngUST
      [ 71s] 
      [ 71s] Configure summary:
      [ 71s] 
      [ 71s] Qt QML:
      [ 71s] QML network support .................... yes
      [ 71s] QML debugging and profiling support .... yes
      [ 71s] QML just-in-time compiler .............. yes
      [ 71s] QML sequence object .................... yes
      [ 71s] QML XML http request ................... yes
      [ 71s] QML Locale ............................. yes
      [ 71s] Qt QML Models:
      [ 71s] QML list model ......................... yes
      [ 71s] QML delegate model ..................... yes
      [ 71s] Qt Quick:
      [ 71s] AnimatedImage item ..................... yes
      [ 71s] Canvas item ............................ yes
      [ 71s] Support for Qt Quick Designer .......... yes
      [ 71s] Flipable item .......................... yes
      [ 71s] GridView item .......................... yes
      [ 71s] ListView item .......................... yes
      [ 71s] TableView item ......................... yes
      [ 71s] Path support ........................... yes
      [ 71s] PathView item .......................... yes
      [ 71s] Positioner items ....................... yes
      [ 71s] Repeater item .......................... yes
      [ 71s] ShaderEffect item ...................... yes
      [ 71s] Sprite item ............................ yes
      [ 71s] Qt Quick Templates 2:
      [ 71s] Hover support .......................... yes
      [ 71s] Multi-touch support .................... yes
      [ 71s] Qt Quick Controls 2:
      [ 71s] Styles ................................. Basic Fusion Imagine Material Universal macOS Windows
      [ 71s] 
      [ 71s] -- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.3.1", minimum required is "0.5.0") 
      [ 74s] -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
      [ 74s] -- Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR) 
      [ 74s] -- Could NOT find WrapOpenSSL (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
      [ 80s] CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:186 (find_package):
      [ 80s] Found package configuration file:
      [ 80s] 
      [ 80s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
      [ 80s] 
      [ 80s] but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
      [ 80s] considered to be NOT FOUND. Reason given by package:
      [ 80s] 
      [ 80s] Target "Qt6::ShaderTools" was not found. Possibly due to
      [ 80s] QT_NO_CREATE_TARGETS being set to TRUE and thus
      [ 80s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake was not
      [ 80s] included to define the target.
      [ 80s] 
      [ 80s] Call Stack (most recent call first):
      [ 80s] examples/quick/scenegraph/custommaterial/CMakeLists.txt:22 (find_package)
      [ 80s] 
      [ 80s] 
      [ 80s] CMake Warning at examples/quick/scenegraph/custommaterial/CMakeLists.txt:22 (find_package):
      [ 80s] Found package configuration file:
      [ 80s] 
      [ 80s] /usr/lib64/cmake/Qt6/Qt6Config.cmake
      [ 80s] 
      [ 80s] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      [ 80s] FOUND. Reason given by package:
      [ 80s] 
      [ 80s] Failed to find Qt component "ShaderTools".
      [ 80s] 
      [ 80s] Expected Config file at
      [ 80s] "/usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake" exists
      [ 80s] 
      [ 80s] 
      [ 80s] 
      [ 80s] 
      [ 80s] 
      [ 80s] shaders/mandelbrot.vert -> shaders/mandelbrot.vert.qsb exposed as :/scenegraph/custommaterial/shaders/mandelbrot.vert.qsb
      [ 80s] shaders/mandelbrot.frag -> shaders/mandelbrot.frag.qsb exposed as :/scenegraph/custommaterial/shaders/mandelbrot.frag.qsb
      [ 81s] CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:186 (find_package):
      [ 81s] Found package configuration file:
      [ 81s] 
      [ 81s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
      [ 81s] 
      [ 81s] but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
      [ 81s] considered to be NOT FOUND. Reason given by package:
      [ 81s] 
      [ 81s] Target "Qt6::ShaderTools" was not found. Possibly due to
      [ 81s] QT_NO_CREATE_TARGETS being set to TRUE and thus
      [ 81s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake was not
      [ 81s] included to define the target.
      [ 81s] 
      [ 81s] Call Stack (most recent call first):
      [ 81s] examples/quick/scenegraph/twotextureproviders/CMakeLists.txt:22 (find_package)
      [ 81s] 
      [ 81s] 
      [ 81s] CMake Warning at examples/quick/scenegraph/twotextureproviders/CMakeLists.txt:22 (find_package):
      [ 81s] Found package configuration file:
      [ 81s] 
      [ 81s] /usr/lib64/cmake/Qt6/Qt6Config.cmake
      [ 81s] 
      [ 81s] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      [ 81s] FOUND. Reason given by package:
      [ 81s] 
      [ 81s] Failed to find Qt component "ShaderTools".
      [ 81s] 
      [ 81s] Expected Config file at
      [ 81s] "/usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake" exists
      [ 81s] 
      [ 81s] 
      [ 81s] 
      [ 81s] 
      [ 81s] 
      [ 81s] shaders/xorblender.vert -> shaders/xorblender.vert.qsb exposed as :/scenegraph/twotextureproviders/shaders/xorblender.vert.qsb
      [ 81s] shaders/xorblender.frag -> shaders/xorblender.frag.qsb exposed as :/scenegraph/twotextureproviders/shaders/xorblender.frag.qsb
      [ 81s] shaders/checker.frag -> shaders/checker.frag.qsb exposed as :/scenegraph/twotextureproviders/shaders/checker.frag.qsb
      [ 82s] CMake Warning at /usr/lib64/cmake/Qt6/Qt6Config.cmake:186 (find_package):
      [ 82s] Found package configuration file:
      [ 82s] 
      [ 82s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
      [ 82s] 
      [ 82s] but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
      [ 82s] considered to be NOT FOUND. Reason given by package:
      [ 82s] 
      [ 82s] Target "Qt6::ShaderTools" was not found. Possibly due to
      [ 82s] QT_NO_CREATE_TARGETS being set to TRUE and thus
      [ 82s] /usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake was not
      [ 82s] included to define the target.
      [ 82s] 
      [ 82s] Call Stack (most recent call first):
      [ 82s] examples/quick/shadereffects/CMakeLists.txt:22 (find_package)
      [ 82s] 
      [ 82s] 
      [ 82s] CMake Warning at examples/quick/shadereffects/CMakeLists.txt:22 (find_package):
      [ 82s] Found package configuration file:
      [ 82s] 
      [ 82s] /usr/lib64/cmake/Qt6/Qt6Config.cmake
      [ 82s] 
      [ 82s] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      [ 82s] FOUND. Reason given by package:
      [ 82s] 
      [ 82s] Failed to find Qt component "ShaderTools".
      [cut]
      

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              cgiboudeaux Christophe Marin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes