From f6db3fc88e7eed74c6a5a289a4e76bad0fb08547 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 14 Aug 2024 14:28:28 +0200 Subject: [PATCH] Mention qtwayland support Close #109 Thanks to @lamriaimen, @alxbilger and @fredroy for this topic --- 10_Getting_Started/20_Build/10_Linux.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/10_Getting_Started/20_Build/10_Linux.md b/10_Getting_Started/20_Build/10_Linux.md index b7686155a..002853a8c 100644 --- a/10_Getting_Started/20_Build/10_Linux.md +++ b/10_Getting_Started/20_Build/10_Linux.md @@ -98,6 +98,18 @@ SOFA requires some libraries: We recommend to install Qt **in your user directory** with [the unified installer](http://download.qt.io/official_releases/online_installers). Make sure to enable **Charts** and **WebEngine** components. ![](https://www.sofa-framework.org/wp-content/uploads/2020/04/install_qt_linux.png) + - Qt Wayland: + X11 is known as an old display protocol. Recently, some Linux distributions switched to a new display protocol/server named Wayland. + If you are using Wayland, or to check whether you are using it: + - Run this command to check your protocol: + ```bash + echo $XDG_SESSION_TYPE + ``` + - If you are using Wayland, install the associated qtwayland running this command (here for Qt5): + ```bash + sudo apt install qtwayland5 + ``` + and set the environment variable `export QT_QPA_PLATFORM=wayland` - **OpenGL** ```