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.
-
@hskoglund
I have a cross-compile setup here, building the Qt apps on an ubuntu 20.04 LTS machine and deploying the built app to the Beaglebone Black (running Debian Bullseye distro) and checking the app working over a vnc connection.Also, the app is not running in the qtcreator app, but is copied onto the BBB's /opt/ directory and the app can be executed manually from there.
@hskoglund said in 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.:
a log from an unsuccessful launch of any Qt app on the Beaglebone black.
So, any particular process on how to get that particular log?
-
@hskoglund @jsulm @SGaist
Checking to see if anyone can further assist me with this issue as I am not able to debug the code from the Qt creator because of this very issue.I would be able to provide any more information needed to better understand the issue.
-
How many Qt versions do you have on your device ?
-
I meant on the device itself.
-
And it's the one you cross-compiled ?
-
When starting directly on the BBB, do you use the same backend ?
-
@SGaist said in 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.:
do you use the same backend ?
Same backend?? Can you tell me what backend is being asked about?
@SGaist said in 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.:
When starting directly on the BBB
Also I cannot directly start Qtcreator on BBB, since i don't have it installed on the BBB, and only use the cross-compilation on the ubuntu system to compile and deploy the app to the BBB (and nothing else)....don't know if that makes sense.
-
Backed: xcb, eglfs, etc.
No need for Qt Creator on your target, I meant literally starting your application on it, for example through the command line.
-
So it looks like your X server installation is incomplete to run Qt applications with the xcb backend. I would start by fixing that.
-
It looks like a warning rather than an error per se.
You might have to configure something on the X server side.