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

[REG] Qt6WaylandGlobalPrivate package not found by Qt6WaylandClient

    XMLWordPrintable

Details

    • bb7637144762436fe0a3ac0abf9dd9199fc1fba0 (qt/qtwayland/dev)

    Description

      As a result of https://codereview.qt-project.org/c/qt/qtwayland/+/356487 when configuring an example project, the package is not automatically found anymore.

      CMake Warning at qt6/qtbase/lib/cmake/Qt6/Qt6Config.cmake:124 (find_package): 
       Found package configuration file:
         
      qt6/qtbase/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake
       but it set Qt6WaylandClient_FOUND to FALSE so package "Qt6WaylandClient" is
       considered to be NOT FOUND.  Reason given by package:
       The following imported targets are referenced, but are missing:
       Qt6::WaylandGlobalPrivate
      Call Stack (most recent call first):
       CMakeLists.txt:24 (find_package)
      

      A possible quickfix is to make use PUBLIC_LIBRARIES instead of LIBRARIES.
      Another likely fix is to use one of the qt_internal_record_extra_package functions.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes