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. How to install Qt on a Raspberry Pi2
Forum Updated to NodeBB v4.3 + New Features

How to install Qt on a Raspberry Pi2

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.1k 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.
  • P Offline
    P Offline
    pi_in_the_sky
    wrote on 22 Nov 2015, 00:39 last edited by
    #1

    Newbie here. I only know how to program some (non-GUI) C/C++. I'd like to install Qt on my raspberry Pi2 Raspbien Linux. I tried:
    sudo apt-get update
    sudo apt-get upgrade
    git clone https://github.com/qtproject/qt5.git
    ./init-repository

    This is the error:
    Cloning into 'qt3d'...
    error: The requested URL returned error: 403 while accessing
    https://github.com/qtproject/qt5qt/qt3d.git/info/refs
    fatal: HTTP request failed
    git clone --branch dev https://github.com/qtproject/qt5qt/qt3d.git
    qt3d exited with status 32768 at ./init-repository line 215

    Is this the right approach? what am I doing wrong? thank you for any help.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      trand
      wrote on 22 Nov 2015, 13:19 last edited by
      #2

      Hello, I am also a newbie, but I have managed to install Qt 5.6 on my Raspberry Pi 2 running Raspbian Wheezy (I moved away from Jessie just because I think I would be able to avoid more errors) just 2 days ago, using a cross-compiler on Ubuntu 15 in a virtual machine.
      This guide https://wiki.qt.io/RaspberryPi_Beginners_Guide works great for the most parts, except that the fixQualifiedLibraryPaths script didn't work for me, so I had to fix two broken symlinks by hand.
      I am not very familiar with this and in fact, right now, I am still facing problems sometimes but I'd be happy to help if you'd face any problem that happened to occur to me as well.

      If you look to install Qt 5 natively on Raspberry Pi without another PC to cross-compile, I believe there is a guide for it in the same wiki page as well.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pi_in_the_sky
        wrote on 24 Nov 2015, 14:07 last edited by
        #3

        Hi, thank you for your response! I was able to install Qt on my PI2 using their apt-get process. It works great now!

        How can you find out which version of Raspbien is installed (jessie, etc)?

        1 Reply Last reply
        0

        1/3

        22 Nov 2015, 00:39

        • Login

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