hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2) #197

Closed hieulw closed 6 months ago

hieulw commented 6 months ago

OS: Archlinux Package: xdg-desktop-portal-hyprland-git Version: 1.3.1.r14.g2d2fb547-1

Log when use nuclear option ```sh [LOG] Initializing xdph... [LOG] XDG_CURRENT_DESKTOP set to Hyprland [LOG] Gathering exported interfaces [LOG] | Got interface: wl_shm (ver 1) [LOG] | Got interface: wl_drm (ver 2) [LOG] | Got interface: zwp_linux_dmabuf_v1 (ver 4) [LOG] | Got interface: wl_compositor (ver 6) [LOG] | Got interface: wl_subcompositor (ver 1) [LOG] | Got interface: wl_data_device_manager (ver 3) [LOG] | Got interface: zwlr_export_dmabuf_manager_v1 (ver 1) [LOG] | Got interface: zwlr_data_control_manager_v1 (ver 2) [LOG] | Got interface: zwp_primary_selection_device_manager_v1 (ver 1) [LOG] | Got interface: wp_viewporter (ver 1) [LOG] | Got interface: zwlr_gamma_control_manager_v1 (ver 1) [LOG] | Got interface: zwlr_output_power_manager_v1 (ver 1) [LOG] | Got interface: xdg_wm_base (ver 6) [LOG] | Got interface: wl_seat (ver 9) [LOG] | Got interface: wp_presentation (ver 1) [LOG] | Got interface: ext_idle_notifier_v1 (ver 1) [LOG] | Got interface: zwlr_layer_shell_v1 (ver 4) [LOG] | Got interface: org_kde_kwin_server_decoration_manager (ver 1) [LOG] | Got interface: zxdg_decoration_manager_v1 (ver 1) [LOG] | Got interface: zwlr_output_manager_v1 (ver 4) [LOG] | Got interface: zwp_keyboard_shortcuts_inhibit_manager_v1 (ver 1) [LOG] | Got interface: zwp_pointer_constraints_v1 (ver 1) [LOG] | Got interface: zwp_relative_pointer_manager_v1 (ver 1) [LOG] | Got interface: zwp_virtual_keyboard_manager_v1 (ver 1) [LOG] | Got interface: zwlr_virtual_pointer_manager_v1 (ver 2) [LOG] | Got interface: zwlr_foreign_toplevel_manager_v1 (ver 3) [LOG] [toplevel] (activate) locks: 1 [LOG] | Got interface: wp_drm_lease_device_v1 (ver 1) [LOG] | Got interface: wp_drm_lease_device_v1 (ver 1) [LOG] | Got interface: zwp_tablet_manager_v2 (ver 1) [LOG] | Got interface: zwp_idle_inhibit_manager_v1 (ver 1) [LOG] | Got interface: zxdg_exporter_v1 (ver 1) [LOG] | Got interface: zxdg_importer_v1 (ver 1) [LOG] | Got interface: zxdg_exporter_v2 (ver 1) [LOG] | Got interface: zxdg_importer_v2 (ver 1) [LOG] | Got interface: zwp_pointer_gestures_v1 (ver 3) [LOG] | Got interface: zwp_text_input_manager_v3 (ver 1) [LOG] | Got interface: zwp_input_method_manager_v2 (ver 1) [LOG] | Got interface: xdg_activation_v1 (ver 1) [LOG] | Got interface: ext_session_lock_manager_v1 (ver 1) [LOG] | Got interface: wp_cursor_shape_manager_v1 (ver 1) [LOG] | Got interface: wp_tearing_control_manager_v1 (ver 1) [LOG] | Got interface: wp_single_pixel_buffer_manager_v1 (ver 1) [LOG] | Got interface: xwayland_shell_v1 (ver 1) [LOG] | Got interface: hyprland_toplevel_export_manager_v1 (ver 2) [LOG] | Got interface: wp_fractional_scale_manager_v1 (ver 1) [LOG] | Got interface: zwp_text_input_manager_v1 (ver 1) [LOG] | Got interface: hyprland_global_shortcuts_manager_v1 (ver 1) [LOG] [globalshortcuts] registered [LOG] | Got interface: zwlr_screencopy_manager_v1 (ver 3) [LOG] [pipewire] connected [LOG] [screencopy] init successful [LOG] | Got interface: zxdg_output_manager_v1 (ver 3) [LOG] | Got interface: wl_output (ver 4) [LOG] [core] dmabufFeedbackMainDevice [LOG] Found output name eDP-2 [LOG] [toplevel] Activated, bound to 561f03ec5f00, toplevels: 5 [LOG] [screencopy] Registered for toplevel export [LOG] [screenshot] init successful ```
Log when I click on select monitor on OBS screen capture ``` [LOG] [toplevel] (activate) locks: 2 [LOG] [screencopy] New session: [LOG] [screencopy] | /org/freedesktop/portal/desktop/request/1_104/obs5 [LOG] [screencopy] | /org/freedesktop/portal/desktop/session/1_104/obs3 [LOG] [screencopy] | appid: com.obsproject.Studio [LOG] [screencopy] SelectSources: [LOG] [screencopy] | /org/freedesktop/portal/desktop/request/1_104/obs6 [LOG] [screencopy] | /org/freedesktop/portal/desktop/session/1_104/obs3 [LOG] [screencopy] | appid: com.obsproject.Studio [LOG] [screencopy] option cursor_mode to 2 [LOG] [screencopy] option persist_mode to 2 [LOG] [screencopy] unused option multiple [LOG] [screencopy] unused option types [LOG] [screencopy] restore data invalid / missing, prompting [LOG] execAndGet: WAYLAND_DISPLAY=wayland-1 QT_QPA_PLATFORM="wayland" XCURSOR_SIZE=24 HYPRLAND_INSTANCE_SIGNATURE=84ab8d11e8951a6551d1e1bf87796a8589da6d47_1709657139 XDPH_WINDOW_SHARING_LIST="66027296[HC>]Alacritty[HT>]Alacritty[HE>]66027648[HC>]com.obsproject.Studio[HT>]Properties for 'Screen Capture (PipeWire)'[HE>]66028048[HC>]firefox[HT>]screencopy: add missing header for sdbus-cpp 1.5.0 · hyprwm/xdg-desktop-portal-hyprland@15fd76c — Mozilla Firefox[HE>]66028400[HC>]com.obsproject.Studio[HT>]OBS 30.0.2 - Profile: Untitled - Scenes: Untitled[HE>]66028832[HC>]Alacritty[HT>]Alacritty[HE>]" hyprland-share-picker 2>&1 [LOG] [screencopy] SHAREDATA returned selection -1 [LOG] [screencopy] Session destroyed [LOG] [toplevel] (deactivate) locks: 1 ```

And I try to run the hyprland-share-picker alone according to execAndGet

(hyprland-share-picker:28251): Gtk-WARNING **: 00:18:29.281: Unable to locate theme engine in module_path: "clearlooks",
(hyprland-share-picker:28251): Gtk-WARNING **: 00:18:29.281: Unable to locate theme engine in module_path: "clearlooks",
Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2)
zsh: IOT instruction (core dumped)  hyprland-share-picker

Seem likehyprland-share-picker require qt6 version 6.6.1 while my system qt6 version is 6.6.2. Are there any suggestion ? Should I downgrade my qt6 version or should hyprland-share-picker pickup latest qt6 version ?

vaxerski commented 6 months ago

recompile it