sonic-pi: add qtwayland dep

Running sonic-pi under wayland/sway, I noticed the following output:

```
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
```

I couldn't find any functional issue due to this, but looked into it
anyway.

Adding `qtwayland` dependency resolves this issue, it now prints:

```
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

```

The dependency on `qtwayland` is documented upstream in
5145973b25/BUILD-LINUX.md (L63)

Which looks a bit healthier. Not sure if there are other things to
improve for wayland support, but this is a start.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer 2025-07-07 08:25:44 +02:00
parent d14923dec2
commit 95c0d77652

View File

@ -11,6 +11,7 @@
qtbase,
qtsvg,
qttools,
qtwayland,
qwt,
qscintilla,
kissfftFloat,
@ -82,6 +83,7 @@ stdenv.mkDerivation rec {
qtbase
qtsvg
qttools
qtwayland
qwt
qscintilla
kissfftFloat