From 80f8436552f74af3897b209a79d283f81ba17a42 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Wed, 24 Apr 2024 15:03:27 +0200 Subject: [PATCH] meshlab: set QT_QPA_PLATFORM xcb --- pkgs/applications/graphics/meshlab/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/graphics/meshlab/default.nix b/pkgs/applications/graphics/meshlab/default.nix index a77a39445c04..decedd1ed342 100644 --- a/pkgs/applications/graphics/meshlab/default.nix +++ b/pkgs/applications/graphics/meshlab/default.nix @@ -90,6 +90,12 @@ mkDerivation rec { patchelf --add-needed $out/lib/meshlab/libmeshlab-common.so $out/bin/.meshlab-wrapped ''; + # display a black screen on wayland, so force XWayland for now. + # Might be fixed when upstream will be ready for Qt6. + qtWrapperArgs = [ + "--set QT_QPA_PLATFORM xcb" + ]; + meta = { description = "A system for processing and editing 3D triangular meshes"; mainProgram = "meshlab";