Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross-compiling with ubuntu for Raspberry
QtWS25 Last Chance

Cross-compiling with ubuntu for Raspberry

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.2k 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
    Ambriador
    wrote on last edited by
    #1

    Hello to everyone,

    i am from germany so excuse my bad english.
    I have some serious problems. I want to write a program with Qt, 4 or 5, and then cross-compile it to run it on a RaspberryPi, but nothing works.
    I run Ubuntu 14.04 and Raspbian on my Raspberry.
    I successfully installed QtCreator on both systems, the one on Ubuntu is slightly newer. Maybe thats the problem?
    I installed a toolchain and set the compiler.
    Maybe some one can give a new tutorial i can follow by steps?
    I tried this Beginner's guide to cross-compile Qt5 on RaspberryPi. But on "The toolchain built by Donald: (Note, seems to be dead links!) " i get an error that i cant unzip the file.
    In another tutorial they described another way to install the toolchain. It works but then it doesnt compile right.

    Lot of greetings

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

      Hi and welcome to devnet,

      What errors are you exactly getting ?

      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
      • A Offline
        A Offline
        Ambriador
        wrote on last edited by Ambriador
        #3

        unfortunately i get no errors.
        I can compile it and when i want to run it on my Raspberry the terminal just opens with "strange signs".

        here my settings for Qt:

        http://www.bilder-upload.eu/show.php?file=3ec5d5-1430306117.jpg
        http://www.bilder-upload.eu/show.php?file=4bfa08-1430306180.jpg
        http://www.bilder-upload.eu/show.php?file=f88507-1430306203.jpg

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

          because i can make no progress with cross compiling, i will compile it on my Raspberry.
          But on my Raspberry i get the error: "Cannot find makefile. check you build settings" ; "error while building/deploying project when executing step make"
          Why do i get this error?

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

            Something's not clear here, you say that you are cross-compiling Qt 5, but your setup shows that you tray to use your System Qt 4

            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