Showing posts with label RPi. Show all posts
Showing posts with label RPi. Show all posts

Monday, June 8, 2020

Error "Could not open DRM device" running Qt app with platform eglfs in Raspberry Pi

While testing recently cross-compiled Qt libraries (5.15.0) for Raspberry Pi 3 running ArchLinuxARM using a sample application (qopenglwidget) I received error:

Could not open DRM device /dev/dri/card0 (Permission denied)

Monday, October 23, 2017

Raspbian: /opt/qt/bin/qmake: cannot execute binary file: Exec format error

If you're cross-compiling Qt for Raspberry Pi (for instance following this guide), and once everything finished and seems Ok, you may encounter the following error while running qmake:
/opt/qt/bin/qmake: cannot execute binary file: Exec format error