Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Building for ARM64



  • 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!


  • Lifetime Qt Champion

    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.


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

    Thanks for the prompt reply!


  • Lifetime Qt Champion

    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 :)



  • 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.


  • Lifetime Qt Champion

    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.



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


Log in to reply