qt.qpa.xcb: could not connect to display

951 views
Skip to first unread message

Matha Goram

unread,
Jun 22, 2023, 1:31:33 PM6/22/23
to Gqrx SDR
Hello!

The last command for the build from source at https://gqrx.dk/download/gqrx-sdr-for-the-raspberry-pi failed with the following message:

$ gqrx
qt.qpa.xcb: could not connect to display
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted
$

Found a few references to building the qt plugin from source (including the cross-compile article). Is there any apt method to install the qt plugin? Thanks.

Regards.

P.S.
The platform is a Raspberry Pi 4 running Raspberry Pi OS Bullseye 64-bit.


righthal...@gmail.com

unread,
Jun 22, 2023, 8:40:31 PM6/22/23
to Gqrx SDR
There were some serious problems with the Bullseye 64-bit version - may be they are fixed now, but a few months ago - I had switch back to the 32-bit version to get things to work.
Reply all
Reply to author
Forward
0 new messages