Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Raspberry Zero W cross compile configuration

Raspberry Zero W cross compile configuration

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 2 Posters 1.3k Views
  • 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.
  • A Offline
    A Offline
    Andreagugu
    wrote on last edited by
    #1

    Hello,
    I have problems configuring QT 5.10 on Ubuntu (laptop), the purpose is build an application for Raspberry Zero W target.
    The problem I guess is related to the QT version, I mean, the Rpi is ARM6 and I found available ARM7 but for Android and ARM5 in old versions again for Android.
    Based on this, I get errors like "the compiler cannot produce code for QT version...." so, can someone tell me which version should work with Rpi Zero W? A lot of tutorials but no one that is really 100% clear or working...
    Starting from QT version maybe the way will be more easy..
    Thanks
    Bye
    Andrea

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Andreagugu
      wrote on last edited by
      #4

      I solved!
      I recreated the Ubuntu virtual machine from scratch and I followed all steps in the guide but there are some steps not perfectly explained.. Specially the step 10, the explanation is "get qtbase..." but at least in my case installing the version 5.9.1 (I decided to follow strictly.. :-P) qtbase was not present in my pc. So I tried installing 5.10 and voilà! qtbase appears and I had the possibility to go ahead.
      Another point, maybe a step where to install necessary tools.. like git, but, ok, was easy to find in the git web-site.

      Finally I really happy to solve.
      Thanks

      Bye
      Andrea

      1 Reply Last reply
      1
      • Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #2

        @Andreagugu you may need to follow a Qt cross-compile guide, as ARM7 for Android has nothing to do with Raspberry Pi devices.
        Have you tried this tutorial from ICS? which is based on this guide as well.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Andreagugu
          wrote on last edited by
          #3

          Thanks, I already had a look to these guides without arrive at the end..
          ![Error message](0_1517600964062_783c2b6a-d5dc-4ccf-8f21-1dfaeabc3e22-image.png image url)

          Just to do things in the best way, I retried all steps suggested by the guide you reported. I took the second one as reference and I get en error in the step 10:
          ![Step10](0_1517601107963_1eeb8d29-5567-48af-813f-0b4a9a636dae-image.png image url)

          I selected rpi 1 as reference because checking the hardware, the rpi zero W has same processor ARM6 then rpi1.
          Additionally I have Ubuntu 64 bit..

          Any idea?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Andreagugu
            wrote on last edited by
            #4

            I solved!
            I recreated the Ubuntu virtual machine from scratch and I followed all steps in the guide but there are some steps not perfectly explained.. Specially the step 10, the explanation is "get qtbase..." but at least in my case installing the version 5.9.1 (I decided to follow strictly.. :-P) qtbase was not present in my pc. So I tried installing 5.10 and voilà! qtbase appears and I had the possibility to go ahead.
            Another point, maybe a step where to install necessary tools.. like git, but, ok, was easy to find in the git web-site.

            Finally I really happy to solve.
            Thanks

            Bye
            Andrea

            1 Reply Last reply
            1

            • Login

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