Skip to content

Commit

Permalink
Mention qtwayland support
Browse files Browse the repository at this point in the history
Close #109 
Thanks to @lamriaimen, @alxbilger and @fredroy for this topic
  • Loading branch information
hugtalbot authored Aug 14, 2024
1 parent 12248cb commit f6db3fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 10_Getting_Started/20_Build/10_Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
```
Expand Down

0 comments on commit f6db3fc

Please sign in to comment.