When building on Linux using system packages (without depends) the support of Wayland protocol for modern desktop environments (e.g., GNOME, KDE Plasma) depends on the presence of the installed Qt Wayland plugin which is loaded dynamically at the GUI startup.
- On Debian/Ubuntu, the
qtwayland5
package is required (also see this patch, and this doc):
- with
qtwayland5
installed:
0$ QT_QPA_PLATFORM="wayland;xcb" ./src/qt/bitcoin-qt -printtoconsole
1Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
22021-08-05T09:51:31Z Bitcoin Core version v22.99.0-c4b42aa4ffa1 (release build)
32021-08-05T09:51:31Z Qt 5.11.3 (dynamic), plugin=wayland (dynamic)
42021-08-05T09:51:31Z No static plugins.
52021-08-05T09:51:31Z Style: fusion / QFusionStyle
62021-08-05T09:51:31Z System: Debian GNU/Linux 10 (buster), x86_64-little_endian-lp64
7...
- without
qtwayland5
:
0$ QT_QPA_PLATFORM="wayland;xcb" ./src/qt/bitcoin-qt -printtoconsole
1Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
32021-08-05T09:48:55Z Bitcoin Core version v22.99.0-c4b42aa4ffa1 (release build)
42021-08-05T09:48:55Z Qt 5.11.3 (dynamic), plugin=xcb (dynamic)
52021-08-05T09:48:55Z No static plugins.
62021-08-05T09:48:55Z Style: fusion / QFusionStyle
72021-08-05T09:48:55Z System: Debian GNU/Linux 10 (buster), x86_64-little_endian-lp64
82021-08-05T09:48:55Z Screen: XWAYLAND0 1920x1200, pixel ratio=1.0
9...
- On Fedora, the
qt5-qtwayland
package is required:
- with
qt5-qtwayland
installed:
0$ ./src/qt/bitcoin-qt -printtoconsole
1QSocketNotifier: Can only be used with threads started with QThread
22021-08-05T08:41:03Z Bitcoin Core version v22.99.0-c4b42aa4ffa1 (release build)
32021-08-05T08:41:03Z Qt 5.15.2 (dynamic), plugin=wayland (dynamic)
42021-08-05T08:41:03Z No static plugins.
52021-08-05T08:41:03Z Style: fusion / QFusionStyle
62021-08-05T08:41:03Z System: Fedora 34 (Workstation Edition), x86_64-little_endian-lp64
7...
- without
qt5-qtwayland
:
0$ ./src/qt/bitcoin-qt -printtoconsole
1qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
22021-08-05T07:50:41Z Bitcoin Core version v22.99.0-c4b42aa4ffa1 (release build)
32021-08-05T07:50:41Z Qt 5.15.2 (dynamic), plugin=xcb (dynamic)
42021-08-05T07:50:41Z No static plugins.
52021-08-05T07:50:41Z Style: fusion / QFusionStyle
62021-08-05T07:50:41Z System: Fedora 34 (Workstation Edition), x86_64-little_endian-lp64
72021-08-05T07:50:41Z Screen: XWAYLAND0 1920x1200, pixel ratio=1.0
8...