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)
Showing posts with label RPi. Show all posts
Showing posts with label RPi. Show all posts
Monday, June 8, 2020
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
/opt/qt/bin/qmake: cannot execute binary file: Exec format error
Labels:
cross-compile,
exec error,
host,
moc,
qmake,
Qt,
Raspberry Pi,
rcc,
RPi,
uic
Subscribe to:
Posts (Atom)