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. Installing QT5 on raspberrypi
Forum Updated to NodeBB v4.3 + New Features

Installing QT5 on raspberrypi

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 2.5k Views 1 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
    Jeff_T69
    wrote on last edited by
    #1

    Hello everyone,

    I want to install Qt5 on my "RaspberryPi", using "armv6l"- (linux, debian).

    I used the terminal and install Qt with the following comand: "sudo apt-get install build-essential libgl1-mesa-dev" and it runs.
    My first question is, do I now have installed the whole qt library? I can't find it on my disc.

    And my second question is, how can I install the qt creator? Is there a apt-get-comand like above??
    I allready try it with the installer: " Qt 5.5.1 for Linux 32-bit or 64-bit" and "Qt Creator 3.5.1 for Linux/X11 32-bit or 64-bit", but I just get an error "bash .... cannot execute binary file".

    Thanks for your time and answers.

    with greedings Jeff

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

      Hi and welcome to devnet,

      You have two options to get Qt 5 on the Raspberry Pi:

      1. Cross-compile it
      2. Build it natively

      The failure you get with the installers is because they are built for x86 and x86_64

      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
      1
      • J Jeff_T69

        Hello everyone,

        I want to install Qt5 on my "RaspberryPi", using "armv6l"- (linux, debian).

        I used the terminal and install Qt with the following comand: "sudo apt-get install build-essential libgl1-mesa-dev" and it runs.
        My first question is, do I now have installed the whole qt library? I can't find it on my disc.

        And my second question is, how can I install the qt creator? Is there a apt-get-comand like above??
        I allready try it with the installer: " Qt 5.5.1 for Linux 32-bit or 64-bit" and "Qt Creator 3.5.1 for Linux/X11 32-bit or 64-bit", but I just get an error "bash .... cannot execute binary file".

        Thanks for your time and answers.

        with greedings Jeff

        tekojoT Offline
        tekojoT Offline
        tekojo
        wrote on last edited by
        #3

        @Jeff_T69
        Debian has prebuilt Qt5 (5.3.2 in the raspbian version, so it's a bit behind in versions) packages available. I'm not a debian user, but I think the package to install is libqt5.

        I have no idea how well QtCreator will run on a RaspberryPi, but you certainly can try. (normally people cross compile on their PCs) The package is qtcreator in debian, so try apt-get with that.

        However if you really want to learn things, go with what @SGaist suggest, and cross compile the latest Qt on your PC.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jeff_T69
          wrote on last edited by
          #4

          Thank you for your fast reply.
          You are right, I see the problem.

          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