Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Improving Beginners Guide on Cross Compiling QT5
Forum Updated to NodeBB v4.3 + New Features

Improving Beginners Guide on Cross Compiling QT5

Scheduled Pinned Locked Moved QtonPi
qt5 raspberry p
3 Posts 3 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jonnax
    wrote on last edited by
    #1

    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:
    https://wiki.qt.io/RaspberryPi_Beginners_Guide

    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,
    Cheers

    1 Reply Last reply
    1
    • F Offline
      F Offline
      francou
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Thanks for the update, looks good

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved