Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Installing Qt 5 on Debian (bullseye)
QtWS25 Last Chance

Installing Qt 5 on Debian (bullseye)

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 23.4k 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.
  • I Offline
    I Offline
    imene
    wrote on last edited by imene
    #1

    Re: Installing Qt 5 on Debian
    Hello
    I'm trying to run this but it doesn't work, wish is the best way to install qt in his newest version for Debian os (bullseye) ?
    pi@raspberrypi:~/Downloads $ chmod +x qt-unified-linux-x64-4.4.1-online.run
    pi@raspberrypi:~/Downloads $ ./qt-unified-linux-x64-4.4.1-online.run
    bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error

    JKSHJ 1 Reply Last reply
    0
    • I imene

      Re: Installing Qt 5 on Debian
      Hello
      I'm trying to run this but it doesn't work, wish is the best way to install qt in his newest version for Debian os (bullseye) ?
      pi@raspberrypi:~/Downloads $ chmod +x qt-unified-linux-x64-4.4.1-online.run
      pi@raspberrypi:~/Downloads $ ./qt-unified-linux-x64-4.4.1-online.run
      bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi, and welcome!

      @imene said in Installing Qt 5 on Debian (bullseye):

      bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error

      The installer only runs on x86-64 CPUs, but your Raspberry Pi has an ARM CPU.

      Debian Bullseye already has Qt 5.15.2 in its repository, so just use apt to install it: sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      I 1 Reply Last reply
      2
      • JKSHJ JKSH

        Hi, and welcome!

        @imene said in Installing Qt 5 on Debian (bullseye):

        bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error

        The installer only runs on x86-64 CPUs, but your Raspberry Pi has an ARM CPU.

        Debian Bullseye already has Qt 5.15.2 in its repository, so just use apt to install it: sudo apt install qtbase5-dev qt5-qmake qtbase5-dev-tools

        I Offline
        I Offline
        imene
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • I Offline
          I Offline
          imene
          wrote on last edited by
          #4

          Thanks a lot @JKSH
          After installing Qt creator with this cmd "sudo apt-get install qtcreator" should i make
          $ sudo apt-get install build-essential
          $ sudo apt-get install libfontconfig1-dev libdbus-1-dev libfreetype6-dev libicu-dev libudev-dev libinput-dev libxkbcommon-dev libssl-dev libpng-dev libjpeg-dev libglib2.0-dev libraspberrypi-dev
          Like it's showns in this tuto '(http://tvaira.free.fr/projets/activites/activite-qt5-rpi.html)?

          1 Reply Last reply
          0
          • I Offline
            I Offline
            imene
            wrote on last edited by
            #5

            There's no examples in my qt creator how could i fixe this ?
            f4361a55-f08a-46b7-b5f6-425883c4eeaa-image.png

            1 Reply Last reply
            0
            • I Offline
              I Offline
              imene
              wrote on last edited by
              #6

              Solved:
              sudo apt-get install qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html qtbase5-dev qtbase5-private-dev cmake

              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