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:

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.