Qt World Summit: Register Today!

Improving Beginners Guide on Cross Compiling QT5

  • My post is about this guide: https://wiki.qt.io/RaspberryPi_Beginners_Guide

    Hi all.
    I've been wanting to get QT5 up and running on my Raspberry Pi these last couple of weeks. Initially I found a repo at http://twolife.be/raspbian/ that has QT5.2 binaries however compilation times were extremely long and the process of copying over code I made on my PC was cumbersome.

    So I decided to look around to see if it was possible to cross compile easily and stumbled upon these instructions:

    However, they were very much out of date with broken links and slightly confusing steps and was slightly out of date. Whilst I was trying to get things up and running I hit a few snags which I added to the article.

    I've tried to improve it but it would help to have a second set of eyes since I've spent quite a bit of time trying a lot of different things, something may have slipped my mind. For instance the guide recommends ia32-libs to be installed for 64bit users but that has been replaced by a Multiarch system and I'm not sure which packages to recommend because I've been installing all sorts of packages compiling other things over the last few months.

    Or does anyone have a method that completely superseded this guide.

    I've put a couple of questions on the Talk page and the history page.

    Let me know what you think,

  • Maybe use the x64 version of the compiler in the raspberry tools git repository ?
    On my part I had success compiling Qt5 using the debian cross toolchain which is compatible with the Pi 2.

  • Lifetime Qt Champion


    Thanks for the update, looks good

Log in to reply