QGnomePlatform icon indicating copy to clipboard operation
QGnomePlatform copied to clipboard

Build failed with QT6

Open t4saha opened this issue 1 year ago • 1 comments

@jpnurmi cmake -DUSE_QT6=true .. Log : Ubuntu 22.04

-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0") 
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.72.4
-- Found GSettingSchemas: TRUE  
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.33
-- Found Wayland_Client: /usr/lib/x86_64-linux-gnu/libwayland-client.so (found version "1.20.0") 
-- Found Wayland_Server: /usr/lib/x86_64-linux-gnu/libwayland-server.so (found version "1.20.0") 
-- Found Wayland_Cursor: /usr/lib/x86_64-linux-gnu/libwayland-cursor.so (found version "1.20.0") 
-- Found Wayland_Egl: /usr/lib/x86_64-linux-gnu/libwayland-egl.so (found version "18.1.0") 
-- 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.20.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.20.0")  
-- Found WaylandScanner: /usr/bin/wayland-scanner  
-- Enabling Qt Wayland decoration shadows support
-- NOTE: This support requires changes in Qt Wayland from Qt 6.2
-- The following OPTIONAL packages have been found:

 * Qt6DBusTools (required version >= 6.2.4)
 * Qt6DBus (required version >= 6.2.0)
 * OpenGL
 * Qt6QmlTools (required version >= 6.2.4)
 * Qt6QuickControls2 (required version >= 6.2.0)
 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>

-- The following REQUIRED packages have been found:

 * QT
 * GSettingSchemas
 * Qt6CoreTools (required version >= 6.2.4)
 * Qt6GuiTools (required version >= 6.2.4)
 * Qt6WidgetsTools (required version >= 6.2.4)
 * AdwaitaQt6 (required version >= 1.4.2)
 * PkgConfig
 * Qt6WaylandScannerTools (required version >= 6.2.4)
 * Qt6WaylandClient (required version >= 6.2.0), Qt Wayland decoration support
   Required for QGnomePlatform decoration plugin

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlus
 * Vulkan
 * WrapVulkanHeaders

-- Configuring done
CMake Error in src/decoration/CMakeLists.txt:
  Imported target "Qt6::WaylandClientPrivate" includes non-existent path

    "/usr/include/x86_64-linux-gnu/qt6/QtWaylandClient/6.2.4"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not provide.

CMake Error in src/decoration/CMakeLists.txt:
  Imported target "Qt6::WaylandClientPrivate" includes non-existent path

    "/usr/include/x86_64-linux-gnu/qt6/QtWaylandClient/6.2.4"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

t4saha avatar Aug 10 '23 11:08 t4saha

It is Ubuntu side issue Bug Report : https://bugs.launchpad.net/ubuntu/+source/qt6-wayland/+bug/2027894

t4saha avatar Aug 11 '23 07:08 t4saha