On Fedora 42, bitcoin-qt, both statically and dynamically linked, fails to start:
$ ./build/bin/bitcoin-qt
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, xcb.
Aborted (core dumped)
However, the libxcb-cursor0 library has been installed:
$ file /usr/lib64/libxcb-cursor.so.0
/usr/lib64/libxcb-cursor.so.0: symbolic link to libxcb-cursor.so.0.0.0
[hebasto@fedora ~]$ file /usr/lib64/libxcb-cursor.so.0.0.0
/usr/lib64/libxcb-cursor.so.0.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=9ccc1af7cf20db2c684510ef2e1c718e71e3419c, stripped