Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Problem installing Qt5 on Raspberry Pi

    Installation and Deployment
    2
    3
    1560
    Loading More Posts
    • 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.
    • P
      PsAePr last edited by

      Hello,
      I'm trying to get Qt running on my RasPi for 2 weeks now and didn't manage it to get it work. I tried the following guides:

      "http://qt-project.org/wiki/RaspberryPi_Beginners_guide":http://qt-project.org/wiki/RaspberryPi_Beginners_guide
      "http://www.ics.com/blog/building-qt-5-raspberry-pi#.UgfXI5KpW04":http://www.ics.com/blog/building-qt-5-raspberry-pi#.UgfXI5KpW04

      But both of them returned many errors and i wasn't able to fix them...

      Then I downloaded QtonPi and burned the image to my SD-Card. But on my RasPi only the Power-LED was on, nothing else happened.

      At the end I tried to get Qt using "apt-get install qtcreator". Qt-Creator starts on the Pi, but i wasn't able to locale "qmake". I searched on the whole filesystem, but there was nothing with the name "qmake" or "q-make".

      Now i'm a bit dissapointed because I thought it would be a little bit easier to compile a Qt5-Project on my RasPi.

      Can anybody tell me, what I have to do to run a simple Qt-Project on my RasPi?

      Thank You in advance

      1 Reply Last reply Reply Quote 0
      • G
        geoffml last edited by

        Hi,
        I too have spent several weeks trying other links all failed until I tried this one:
        http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi/
        I can now run qmake to compile an existing cube example. To be clear, the installation **does not **include Qt Creator. The plan is develop on Windows and then to compile the .pro and associated files on the RPI, run qmake, and then make.
        Regards

        geoffml

        1 Reply Last reply Reply Quote 0
        • G
          geoffml last edited by

          Hi PsAePr,
          I can confirm the above link works as I have developed a Qt5 app on my PC and transferred the project files to my RPI. There you run the compile command, qmake and make and then run the app. It's that easy. This is the best link I have found so far that works.

          Cheers

          1 Reply Last reply Reply Quote 0
          • First post
            Last post