Tuesday, October 22, 2013

Build Qt 5 for Raspberry Pi on Raspberry Pi

This tutorial from Qt Project guide you how to Native Build of Qt 5 on a Raspberry Pi.

There are many tutorials online for building Qt5 on the Raspberry Pi, but all or most of those tutorials are for using a desktop machine to cross compile the binaries for the Raspberry Pi. You will not be able to run qmake and make on the Raspberry Pi itself if you cross compile. This tutorial is meant to show you how to natively compile Qt 5 on the Raspberry Pi so that you can use qmake and make on the Raspberry Pi itself without cross compiling or relying on an external desktop...

Caution: As stated in the document, the building process run on a Raspberry Pi overclocked running at 900 MHz, it took 38 hours to compile and the temperature was a steady 51 C – 54 C...!!!

No comments: