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";