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

configure is looking for waylandscanner even if it is not needed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.10.0
    • QPA: Wayland
    • None
    • Integrity, QNX, VxWorks

      To cross build Qt for QNX, VxWorks, Integrity one needs to make a host build on Desktop Linux. Those platforms doesn't support wayland, so theoretically -skip qtwayland can be used both on host and platform build, but it results in:

      {{-- [QtBase] Searching for tool 'Qt6::qtwaylandscanner' in package Qt6WaylandScannerTools.
      – Could NOT find Qt6WaylandScannerTools (missing: Qt6WaylandScannerTools_DIR)
      CMake Error at qtbase/cmake/QtToolHelpers.cmake:799 (message):
        Failed to find the host tool "Qt6::qtwaylandscanner".  It is part of the
        Qt6WaylandScannerTools package, but the package could not be found.  Make
        sure you have built and installed the host WaylandScanner module, which
        will ensure the creation of the Qt6WaylandScannerTools package.
      Call Stack (most recent call first):
        qtbase/cmake/QtToolHelpers.cmake:83 (qt_internal_find_tool)
        qtbase/src/tools/qtwaylandscanner/CMakeLists.txt:11 (qt_internal_add_tool)}}

       

      The workaround is to install Qt for Linux Desktop using maintenance tool and configure with -DQt6WaylandScannerTools_DIR=/home/user/Qt/6.10.0/gcc_64/lib/cmake/Qt6WaylandScannerTools 

       

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

            qt.team.graphics.and.multimedia Qt Graphics Team
            karimpinter Karim Pinter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes