Why Qt platform plugin “xcb” cannot be loaded even though it was found?
-
@rrd0 from your error log please see entries like this
qt.qpa.xcb: could not connect to display
that coupled with the way you said you're starting your app
when I try to run the same app from a remote debug session
seems to me that you're not using a SSH session with X Forwarding... don't forget the -X parameter along with proper hosts authorization
ssh -X user@hostname
-
I'm not using X forwarding. The app is displayed on the target. Just text (stdout and stderr, I guess) is displayed on my dev machine.
-
You still have to configure things properly. You are starting your application remotely, so you have to configure your session so that your application tries to connect to the local X server.
-
I may be wrong but I don't think you currently can.
Out of curiosity, what is the reason for having a full X server running on your embedded target ?
-
I'm using X cause I tried (a lot) to run my apps on EGLFS with no success. I followed the RaspberryPi2EGLFS guide, from qt wiki, to build Qt for RPi, but never managed to make it work.
Do you know some other guide that could help me build Qt (EGLFS) for RPi?
P.S. Someone updated the RaspberryPi2EGLFS guide, so I'll give it a last try.
-
Any chance you are having trouble using a Raspbian Stretch root filesystem ?
-
The EGLFS issue.