Posts: 1
Joined: Fri Mar 04, 2016 11:13 am

Arch Linux Arm: Qt5 and eglfs

Mon Nov 12, 2018 2:01 pm

I try to run a (small example) Qt5 application with Quick Controls 2 on my Raspberry Pi 3 not using X11 but eglfs. This was not successful so far. I always get the error message "Could not find DRM device". I guess Qt has been built with eglfs platform plugin since the file /usr/lib/qt/plugins/platforms/ is available. My try to start the application is:

Code: Select all

LD_PRELOAD="/opt/vc/lib/ /opt/vc/lib/" myQtProgram -platform eglfs
Maybe I miss something or what am I doing wrong?

On a "normal" notebook (x86_64) I can compile & launch the program with eglfs, so its seems to be something raspberry related...

Return to “Graphics programming”