Nominate our 2022 Qt Champions!

cross compile on windows for linux & arm

  • Hello,

    We have cross compiled Qt libraries and plugins (opengl es supported) and it works well.
    We also know how to cross compile our QML application in linux machine for the arm device.
    But now we want to build QML application (only application, not all qt source) in windows for the arm machine.
    Is that possible ? I have the cross compiler for arm (TI's armv7) on windows,
    Is there any tutorial/guideliness on this issue ? Does the windows-android opackage can be used for that ?

    Thank you!

  • Lifetime Qt Champion


    Yes it's doable, not easy but doable. However you will have to cross-compile Qt in order to have everything you need to build your application (e.g. host tools like qmake)

    No, you can't use the Windows Android package unless you are running Android on your board. The distribution is not the same nor the libraries.

    One of the most used setup for that on Windows is to have virtual machine running linux.

  • Hi,

    Can you please give me a hint or wiki as to how to cross compile in windows for arm linux machine ?


  • Lifetime Qt Champion

    There's this guide but is targeting the RPi2 but the basics should be the same for other boards.

Log in to reply