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:

It looks like the default cross-compiler (GCC 4.9) used as part of those steps (from Raspberry tools repository) is kinda old, and just using a new/more up to date GCC cross-compiler (i.e. by building GCC 8.1 yourself) solves the issue.
Happy compiling!

No comments:

Post a Comment