In trying to cross compile Qt 5.5.1 for the Beaglebone Black Simon Stürz’ blog post was extremely helpful (Thank you Simon).
I made a few modifications to Simon’s cross compile script:
Obviously I replaced all occurrences of 5.2.1 by 5.5.1.
Then I replaced all occurrences of ${CC} by ${CC_PRE}.
Then I replaced the initial
export CC="${CC_DIR}/bin/arm-linux-gnueabihf-"
by
export CC_PRE="${CC_DIR}/bin/arm-linux-gnueabihf-"
Finally, right after
# configure qtbase if [ ! -d ${PREFIX} ]; then ./configure \ -prefix ${PREFIX} \
I added
-extprefix ${PREFIX} \
as another option to have Qt installed in directory Qt-5.5.1.
Since I’m new to Qt, it took me a while to find out, I had to manually install the Qt-5.5.1 directory populated by the script on the Beaglebone under /opt and add the path to LD_LIBRARY_PATH or /etc/ld.so.conf.