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. Qt6 Online Installer Ubuntu 22.04.1 LTS
QtWS25 Last Chance

Qt6 Online Installer Ubuntu 22.04.1 LTS

Scheduled Pinned Locked Moved Solved General and Desktop
linuxonline installqt6
8 Posts 3 Posters 4.6k 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.
  • K Offline
    K Offline
    Kevin470
    wrote on 27 Sept 2022, 11:03 last edited by
    #1

    I had an issue with installing Qt6 for the Raspberry Pi OS 64 bit. => https://forum.qt.io/topic/139524/qt6-with-qt-creator-for-raspberry-pi-os-without-cross-compiling/3

    I installed the Ubuntu 22.04.1 LTS 64 bit OS on Raspberry Pi 4 (8GB).
    I believe I have installed all the necessary dependencies for Qt Online Installer to work.
    sudo apt-get -y install build-essential openssl libssl-dev libssl1.0 libgl1-mesa-dev libqt5x11extras5
    sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
    sudo apt-get install g++

    When I try to run the Qt Online Installer, I get the same error. bash: ./qt-unified-linux-x64-4.4.1-online.run: cannot execute binary file: Exec format error

    Is there something that I am missing?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 27 Sept 2022, 11:07 last edited by
      #2

      Is there something that I am missing?

      Yes, the Qt installer is compiled for x86_64 architecture, not ARM. It will not work on a Raspberry Pi.

      (Z(:^

      K 1 Reply Last reply 27 Sept 2022, 11:09
      1
      • S sierdzio
        27 Sept 2022, 11:07

        Is there something that I am missing?

        Yes, the Qt installer is compiled for x86_64 architecture, not ARM. It will not work on a Raspberry Pi.

        K Offline
        K Offline
        Kevin470
        wrote on 27 Sept 2022, 11:09 last edited by
        #3

        @sierdzio So the only way is to cross compile or install Qt5?

        J S 2 Replies Last reply 27 Sept 2022, 11:10
        0
        • K Kevin470
          27 Sept 2022, 11:09

          @sierdzio So the only way is to cross compile or install Qt5?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 27 Sept 2022, 11:10 last edited by
          #4

          @Kevin470 Ubuntu already provides Qt - if you want to build directly on RaspberryPi then you can use Qt provided by Ubuntu.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          K 1 Reply Last reply 27 Sept 2022, 11:13
          0
          • J jsulm
            27 Sept 2022, 11:10

            @Kevin470 Ubuntu already provides Qt - if you want to build directly on RaspberryPi then you can use Qt provided by Ubuntu.

            K Offline
            K Offline
            Kevin470
            wrote on 27 Sept 2022, 11:13 last edited by
            #5

            @jsulm If it is possible, could you let me know if there is a guide for the installation method for Qt for Ubuntu along with Qt Creator?

            J 1 Reply Last reply 27 Sept 2022, 11:16
            0
            • K Kevin470
              27 Sept 2022, 11:13

              @jsulm If it is possible, could you let me know if there is a guide for the installation method for Qt for Ubuntu along with Qt Creator?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 27 Sept 2022, 11:16 last edited by
              #6

              @Kevin470 You just need to install Qt and QtCreator packages like any other packages. See https://wiki.ubuntuusers.de/Qt5/

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2
              • K Kevin470
                27 Sept 2022, 11:09

                @sierdzio So the only way is to cross compile or install Qt5?

                S Offline
                S Offline
                sierdzio
                Moderators
                wrote on 27 Sept 2022, 11:18 last edited by
                #7

                @Kevin470 said in Qt6 Online Installer Ubuntu 22.04.1 LTS:

                @sierdzio So the only way is to cross compile or install Qt5?

                Yes, install whatever OS provides (Ubuntu repos contain both Qt 5 and Qt 6, at least for x86) or compile (or cross-compile) your own.

                (Z(:^

                1 Reply Last reply
                2
                • K Offline
                  K Offline
                  Kevin470
                  wrote on 27 Sept 2022, 11:29 last edited by
                  #8

                  @jsulm @sierdzio Thank you both so much. I will try that out.

                  1 Reply Last reply
                  0

                  8/8

                  27 Sept 2022, 11:29

                  • Login

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