Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Solved Raspberry Pi installation of Qt

    Installation and Deployment
    4
    6
    651
    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.
    • N
      Nite Coder last edited by

      Hello,
      I wanted to install Qt on the Raspberry Pi, since the computer I am using right now for Qt is not where all of my C++ files are, which I use for reference when coding. I installed the online installer and adjusted permissions so it could run. Then I tried to run it and it failed. Saying:

      cannot execute binary file: exec format error
      Thanks in advance! : )

      Note: I am running Raspbian

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        The online and offline installers for Linux are for the x86_64 architecture.not ARM.

        You should either:

        • Install Qt from Raspbian
        • Cross-compile Qt
        • Compile Qt on your target.

        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 Reply Quote 2
        • N
          Nite Coder last edited by

          Thanks! : )

          Pablo J. Rogina 1 Reply Last reply Reply Quote 0
          • Pablo J. Rogina
            Pablo J. Rogina @Nite Coder last edited by

            @Nite-Coder if your issue is solved, please don't forget to mark your post as such. Thanks

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply Reply Quote 1
            • N
              Nite Coder last edited by

              I did so, thanks for reminding me!

              1 Reply Last reply Reply Quote 0
              • posktomten
                posktomten last edited by posktomten

                This guide worked for me. Used Qt 5.11.1. Compiled both dynamic and static libraries. (Rasberry Pi 3+)
                http://www.tal.org/tutorials/building-qt-510-raspberry-pi-debian-stretch

                Have fun!
                posktomten

                posktomten

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