Qt6::WaylandClientPrivate not exist in qt6
[main] Building folder: kwayland
[main] Configuring project: kwayland
[proc] Executing command: /usr/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ -S/home/kylin/projects/kde-upstream/kwayland -B/home/kylin/projects/kde-upstream/kwayland/build-cmake -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- The C compiler identification is GNU 12.2.0
[cmake] -- The CXX compiler identification is GNU 12.2.0
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - done
[cmake] -- Check for working C compiler: /usr/bin/gcc - skipped
[cmake] -- Detecting C compile features
[cmake] -- Detecting C compile features - done
[cmake] -- Detecting CXX compiler ABI info
[cmake] -- Detecting CXX compiler ABI info - done
[cmake] -- Check for working CXX compiler: /usr/bin/g++ - skipped
[cmake] -- Detecting CXX compile features
[cmake] -- Detecting CXX compile features - done
[cmake] --
[cmake]
[cmake] Installing in /usr/local. Run /home/kylin/projects/kde-upstream/kwayland/build-cmake/prefix.sh to set the environment for KWayland.
[cmake] -- Performing Test HAVE_STDATOMIC
[cmake] -- Performing Test HAVE_STDATOMIC - Success
[cmake] -- Found WrapAtomic: TRUE
[cmake] -- Looking for __GLIBC__
[cmake] -- Looking for __GLIBC__ - found
[cmake] -- Performing Test _OFFT_IS_64BIT
[cmake] -- Performing Test _OFFT_IS_64BIT - Success
[cmake] -- Performing Test HAVE_DATE_TIME
[cmake] -- Performing Test HAVE_DATE_TIME - Success
[cmake] -- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE
[cmake] -- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
[cmake] -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
[cmake] -- Found WrapOpenGL: TRUE
[cmake] -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0")
[cmake] -- Found WrapVulkanHeaders: /usr/include
[cmake] -- Found Threads: TRUE
[cmake] -- Found Wayland_Client: /usr/lib/x86_64-linux-gnu/libwayland-client.so (found version "1.21.93")
[cmake] -- Found Wayland_Server: /usr/lib/x86_64-linux-gnu/libwayland-server.so (found version "1.21.93")
[cmake] -- Found Wayland_Cursor: /usr/lib/x86_64-linux-gnu/libwayland-cursor.so (found version "1.21.93")
[cmake] -- Found Wayland_Egl: /usr/lib/x86_64-linux-gnu/libwayland-egl.so (found version "18.1.0")
[cmake] -- 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.21.93", minimum required is "1.15")
[cmake] -- 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.21.93")
[cmake] -- Found WaylandScanner: /usr/bin/wayland-scanner
[cmake] -- 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.21.93", minimum required is "1.15") found components: Client
[cmake] -- Found WaylandProtocols: //usr/share/wayland-protocols (found suitable version "1.31", minimum required is "1.15")
[cmake] -- Performing Test HAVE_EGL
[cmake] -- Performing Test HAVE_EGL - Success
[cmake] -- Found EGL: /usr/include (found version "1.5")
[cmake] -- Performing Test HAVE_MEMFD
[cmake] -- Performing Test HAVE_MEMFD - Success
[cmake] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
[cmake] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
[cmake] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
[cmake] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
[cmake] -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
[cmake] -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
[cmake] -- The weston executable was not found. Some autotests will not be executed.
[cmake] -- The following OPTIONAL packages have been found:
[cmake]
[cmake] * Qt6CoreTools (required version >= 6.4.2)
[cmake] * Qt6Core
[cmake] * OpenGL
[cmake] * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
[cmake] * WrapVulkanHeaders
[cmake] * Qt6GuiTools (required version >= 6.4.2)
[cmake] * Qt6DBusTools (required version >= 6.4.2)
[cmake] * Qt6Concurrent (required version >= 6.4.0)
[cmake] * Qt6WaylandScannerTools (required version >= 6.4.2)
[cmake] * WaylandScanner, Executable that converts XML protocol files to C code, <https://wayland.freedesktop.org/>
[cmake] * Qt6Test (required version >= 6.4.0)
[cmake]
[cmake] -- The following REQUIRED packages have been found:
[cmake]
[cmake] * ECM (required version >= 5.240.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
[cmake] * Qt6Gui (required version >= 6.4.0)
[cmake] * Qt6WaylandClient (required version >= 6.4.0)
[cmake] * Wayland (required version >= 1.15), C library implementation of the Wayland protocol: a protocol for a compositor to talk to its clients, <https://wayland.freedesktop.org/>
[cmake] * WaylandProtocols (required version >= 1.15), Specifications of extended Wayland protocols, <https://wayland.freedesktop.org/>
[cmake] * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
[cmake] * PlasmaWaylandProtocols (required version >= 1.9.0)
[cmake] * Qt6 (required version >= 6.4.0)
[cmake]
[cmake] -- The following features have been disabled:
[cmake]
[cmake] * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
[cmake]
[cmake] CMake Warning at /usr/local/share/ECM/kde-modules/KDEGitCommitHooks.cmake:84 (message):
[cmake] No clang-format executable was found, skipping the formatting pre-commit
[cmake] hook
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:131 (kde_configure_git_pre_commit_hook)
[cmake]
[cmake]
[cmake] -- Configuring done
[cmake] CMake Error in src/client/CMakeLists.txt:
[cmake] Imported target "Qt6::WaylandClientPrivate" includes non-existent path
[cmake]
[cmake] "/usr/include/x86_64-linux-gnu/qt6/QtWaylandClient/6.4.2"
[cmake]
[cmake] in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
[cmake]
[cmake] * The path was deleted, renamed, or moved to another location.
[cmake]
[cmake] * An install or uninstall procedure did not complete successfully.
[cmake]
[cmake] * The installation package was faulty and references files it does not
[cmake] provide.
[cmake]
[cmake]
[cmake]
[cmake] CMake Error in src/client/CMakeLists.txt:
[cmake] Imported target "Qt6::WaylandClientPrivate" includes non-existent path
[cmake]
[cmake] "/usr/include/x86_64-linux-gnu/qt6/QtWaylandClient/6.4.2"
[cmake]
[cmake] in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
[cmake]
[cmake] * The path was deleted, renamed, or moved to another location.
[cmake]
[cmake] * An install or uninstall procedure did not complete successfully.
[cmake]
[cmake] * The installation package was faulty and references files it does not
[cmake] provide.
[cmake]
[cmake]
[cmake]
[cmake] CMake Error in src/client/CMakeLists.txt:
[cmake] Imported target "Qt6::WaylandClientPrivate" includes non-existent path
[cmake]
[cmake] "/usr/include/x86_64-linux-gnu/qt6/QtWaylandClient/6.4.2"
[cmake]
[cmake] in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
[cmake]
[cmake] * The path was deleted, renamed, or moved to another location.
[cmake]
[cmake] * An install or uninstall procedure did not complete successfully.
[cmake]
[cmake] * The installation package was faulty and references files it does not
[cmake] provide.
[cmake]
[cmake]
[cmake]
[cmake] -- Generating done
[cmake] CMake Generate step failed. Build files cannot be regenerated correctly.
[proc] The command: /usr/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ -S/home/kylin/projects/kde-upstream/kwayland -B/home/kylin/projects/kde-upstream/kwayland/build-cmake -G Ninja exited with code: 1
Edited by Hongfei Shang