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. Building for ARM64
QtWS25 Last Chance

Building for ARM64

Scheduled Pinned Locked Moved Solved Installation and Deployment
arm64aarch64
8 Posts 3 Posters 14.9k 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.
  • B Offline
    B Offline
    bruce_the_great
    wrote on 25 Sept 2018, 21:10 last edited by
    #1

    I'd like to build Qt applications for Linux Debian 10 Buster on arm64. (LXQt desktop)

    Preferences in priority order:

    1. Using Qt Creator natively.
    2. Qt Creator on x64 cross compiling (from either Windows or Ubuntu)
    3. Command line build, native.
    4. Command line build, cross.

    Are any/all of these options available?
    Which would be the simplest to get working?
    Which would be the best (for someone who hasn't recently done sophisticated configuration/builds)?
    Can you point me to instructions for any of these?

    Thanks!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 25 Sept 2018, 21:13 last edited by
      #2

      Hi and welcome to devnet,

      1. Just install the Qt development packages from the distribution package manager.
      2. Yes that's possible, you need a proper cross-compiler
      3. Same as 1 but without Qt Creator (which is using qmake to handle Qt project by default but can also do cmake or qbs)
      4. Would be the same as 3 but using the qmake version built when cross-compiling Qt.

      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
      0
      • B Offline
        B Offline
        bruce_the_great
        wrote on 25 Sept 2018, 21:35 last edited by
        #3

        Duh! As simple as:
        apt-get install qtcreator
        and it even installed in the programming menu!

        Thanks for the prompt reply!

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 25 Sept 2018, 21:40 last edited by
          #4

          You're welcome !

          If you have everything you need, please mark the thread as solved using the "Topic Tools" button so that other forum users may know an answer has been found :)

          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
          0
          • B Offline
            B Offline
            bruce_the_great
            wrote on 25 Sept 2018, 22:06 last edited by
            #5

            It wasn't quite that simple. I also had to:
            apt-get install qt5-default
            and select a version for the "kit", as described here

            Then, while parsing the .pro file, I got:
            Project ERROR: Unknown module(s) in QT:charts

            I'm not sure how to resolve that.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 25 Sept 2018, 22:08 last edited by
              #6

              Qt 5 is splitted in several modules. I don't remember Debian providing an "install all Qt 5" package so you'll have to search the one you need and install them.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              B 1 Reply Last reply 25 Sept 2018, 22:21
              0
              • S SGaist
                25 Sept 2018, 22:08

                Qt 5 is splitted in several modules. I don't remember Debian providing an "install all Qt 5" package so you'll have to search the one you need and install them.

                B Offline
                B Offline
                bruce_the_great
                wrote on 25 Sept 2018, 22:21 last edited by
                #7

                That did it. My app's running! :-)

                D 1 Reply Last reply 22 Apr 2023, 20:35
                0
                • B bruce_the_great
                  25 Sept 2018, 22:21

                  That did it. My app's running! :-)

                  D Offline
                  D Offline
                  daemonbsd
                  wrote on 22 Apr 2023, 20:35 last edited by
                  #8
                  friend tell me what should I do, really apt get can put qt or you built from src, and direct me if I need this thing for developers, where to put the sources, I have arm64 linux      @bruce_the_great
                  
                  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