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

Examples not compiling due 'lib/cmake/Qt6WaylandClient/Qt6WaylandClientMacros.cmake:2 (qt_parse_all_arguments)'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.0 Alpha, 6.0.0 Beta2
    • Fix Version/s: 6.0.0 RC
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      Tested on Ubuntu 20.04 x64

      Description

      Examples not compiling:

      /Examples/Qt-6.0.0/wayland/custom-extension/cpp-client
      /Examples/Qt-6.0.0/wayland/custom-extension/qml-client
      /Examples/Qt-6.0.0/wayland/server-buffer/cpp-client

      Builds fail with similar error:

      -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) 
      -- Found Wayland: /usr/lib/x86_64-linux-gnu/libwayland-client.so;/usr/lib/x86_64-linux-gnu/libwayland-server.so;/usr/lib/x86_64-linux-gnu/libwayland-cursor.so;/usr/lib/x86_64-linux-gnu/libwayland-egl.so (found suitable version "1.18.0", minimum required is "1.15")  
      -- Found Wayland: /usr/lib/x86_64-linux-gnu/libwayland-client.so;/usr/lib/x86_64-linux-gnu/libwayland-server.so;/usr/lib/x86_64-linux-gnu/libwayland-cursor.so;/usr/lib/x86_64-linux-gnu/libwayland-egl.so (found version "1.18.0")  
      CMake Error at /home/qt/RTA/qt5/6.0.0/gcc_64/lib/cmake/Qt6WaylandClient/Qt6WaylandClientMacros.cmake:2 (qt_parse_all_arguments):
        Unknown CMake command "qt_parse_all_arguments".
      Call Stack (most recent call first):
        CMakeLists.txt:27 (qt6_generate_wayland_protocol_client_sources)
      -- Configuring incomplete, errors occurred!
      See also "/home/qt/RTA/qt5/Examples/Qt-6.0.0/wayland/custom-extension/cpp-client/CMakeFiles/CMakeOutput.log".
      See also "/home/qt/RTA/qt5/Examples/Qt-6.0.0/wayland/custom-extension/cpp-client/CMakeFiles/CMakeError.log".
      

      SHA1: ca02358af27b458739cba29086ff6ad19196d431

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes