Could not initialize egl display on RPI3
-
Hello,
I have followed guide of cross-compiling (https://wiki.qt.io/RaspberryPi2EGLFS). RPI has the latest Raspbian minimum edition. After trying to run the application on RPI I receive an error: Could not initialize egl display
How can I trace the source of the error and how to fix it?
Best regards,
Oleg -
@Oleg-Romanenko said in Could not initialize egl display on RPI3:
minimum edition
Is it running in text mode? Or do you have any windows manager running when you try to start your app?
-
Same problem
qt.qpa.xcb: could not connect to display :0.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.- failed to add service - already in use?
Any solution
-
@Service-IT said in Could not initialize egl display on RPI3:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Please set QT_DEBUG_PLUGINS environment variable to 1 before starting your app. Then start it and post the output from terminal here. There should be more information then.
https://doc.qt.io/qt-5/debug.html"qt.qpa.xcb: could not connect to display :0.0" - is X server running and is its ID 0.0?