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

ShaderTools package not found when building qtdeclarative examples in-tree in a prefix build (not as ExternalProjects)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta4
    • Fix Version/s: 6.2.1, 6.3.0 Alpha
    • Component/s: Build System: CMake
    • Labels:
      None
    • Commits:
      828cbe57a1690c843f4e3de258d465160e599f95 (qt/qtdeclarative/dev) 8f5eb66a0f4d203b0ebaf449c32505810b845d1b (qt/qtdeclarative/6.2)

      Description

      Sample integration
      https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1631231785

      Sample Log
      https://testresults.qt.io/coin/logview/qt/qtdeclarative/416a75ea5daa5916140c43b9513144d2c3b64236/LinuxUbuntu_20_04x86_64LinuxUbuntu_20_04x86_64GCCqtci-linux-Ubuntu-20.04-x86_64-50-0be4b7Documentation_Sccache/0732b1a08f9929048315d2d4cb18f6c59dccd73b/build_1631232410

      Sample reported log from OpenSuSe CI
      https://paste.opensuse.org/96746145

      Relevant bit

      agent:2021/09/10 00:09:50 build.go:391: CMake Warning at /home/qt/work/install/lib/cmake/Qt6/Qt6Config.cmake:176 (find_package):
      agent:2021/09/10 00:09:50 build.go:391:   Found package configuration file:
      agent:2021/09/10 00:09:50 build.go:391:     /home/qt/work/install/lib/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake
      agent:2021/09/10 00:09:50 build.go:391:   but it set Qt6ShaderTools_FOUND to FALSE so package "Qt6ShaderTools" is
      agent:2021/09/10 00:09:50 build.go:391:   considered to be NOT FOUND.  Reason given by package:
      agent:2021/09/10 00:09:50 build.go:391:   Target "Qt6::ShaderTools" was not found.  Possibly due to
      agent:2021/09/10 00:09:50 build.go:391:   QT_NO_CREATE_TARGETS being set to TRUE and thus
      agent:2021/09/10 00:09:50 build.go:391:   /home/qt/work/install/lib/cmake/Qt6ShaderTools/Qt6ShaderToolsTargets.cmake
      agent:2021/09/10 00:09:50 build.go:391:   was not included to define the target.
      agent:2021/09/10 00:09:50 build.go:391: Call Stack (most recent call first):
      agent:2021/09/10 00:09:50 build.go:391:   examples/quick/scenegraph/custommaterial/CMakeLists.txt:22 (find_package)
      agent:2021/09/10 00:09:50 build.go:391: CMake Warning at examples/quick/scenegraph/custommaterial/CMakeLists.txt:22 (find_package):
      agent:2021/09/10 00:09:50 build.go:391:   Found package configuration file:
      agent:2021/09/10 00:09:50 build.go:391:     /home/qt/work/install/lib/cmake/Qt6/Qt6Config.cmake
      agent:2021/09/10 00:09:50 build.go:391:   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      agent:2021/09/10 00:09:50 build.go:391:   FOUND.  Reason given by package:
      agent:2021/09/10 00:09:50 build.go:391:   Failed to find Qt component "ShaderTools".
      agent:2021/09/10 00:09:50 build.go:391:   Expected Config file at
      agent:2021/09/10 00:09:50 build.go:391:   "/home/qt/work/install/lib/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake"
      agent:2021/09/10 00:09:50 build.go:391:   exists
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              alexandru.croitor Alexandru Croitor
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes