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 Raspberry Pi. Show all posts
Showing posts with label Raspberry Pi. Show all posts
Monday, June 8, 2020
Thursday, August 9, 2018
Cross-compiling full Qt 5.11.x for Raspberry Pi: error with QGeoMap class in Qt Location module
From this post, an error appears when cross-compiling Qt 5.11.x (full from source code tarball, i.e. qt-everywhere-src-5.11.0.tar.xz) and following the steps from this guide.
The solution I found:
Labels:
cross-compile,
GCC,
GCC 4.9,
GCC 8.1,
QGeoMap,
Qt,
Qt Location,
Raspberry Pi,
Raspberry Pi tools
Wednesday, August 8, 2018
Qt on Raspberry: QFontDatabase error
After deploying a cross-compiled Qt application for the Raspberry Pi boards (by following this guide), this error message appears:
QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
QFontDatabase: Cannot find font directory /usr/local/qt5pi/lib/fonts.
Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig.
Labels:
dejavu-fonts,
fontconfig,
fonts,
QFontDatabase,
Qt,
Raspberry Pi,
Truetype
Tuesday, June 12, 2018
Cross-compiling QtMqtt module for Raspberry Pi
A previous post of mine described the Qt module for MQTT protocol, and how to compile it for the Android platform. That seems a good fit to develop a client application for a dashboard for instance, where you can subscribe to different topics and monitor the evolution of such items.
Ok you'll say, but what about creating MQTT publishers, i.e. devices that may have sensors and will provide the readings with MQTT messages?
Ok you'll say, but what about creating MQTT publishers, i.e. devices that may have sensors and will provide the readings with MQTT messages?
Labels:
cross-compile,
cross-platform,
IMU,
MQ,
publisher,
Qt,
QtMQTT,
Raspberry Pi,
sensors,
subscriber
Thursday, January 18, 2018
Using Qt Creator to cross-compile and debug Raspberry Pi Qt5 apps
Have you ever wonder how to setup Qt Creator in your powerful workstation to develop Qt apps that can be deployed and tested in your Raspberry Pi (reachable from such workstation)?
Labels:
cross-compile,
debug,
device,
kit,
Qt,
Qt Creator,
Raspberry Pi,
Yocto
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)