Howto create QTVersion for Cross-compiling for ARM
-
I've downloaded and setup QTCreator 5.2.1 for Windows. I'd like to cross-compile application for ARM using QT. I have GCC compiler for ARM, it works fine in Windows (the GCC is a part of Xilinx SDK).
There is only one QT Version named "QT 5.2.1 MSVC2012 64bit" in Tools > Options > Build & Run > Qt Versions (Autodetected).
As I understand I must create new QT Version for ARM and add it to Qt Versions. Must I recompile qmake.exe, and how to do it, if so? Or how to do cross-compiling???
All docs I read say how to add new QT Version, but nothing about how to *create *it.
-
You need to download Qt source code (tarball) and compile it yourself. Here is some "info":http://qt-project.org/doc/qt-5/configure-options.html#cross-compilation-options on crosscompiling. Here is even more "detailed info":http://qt-project.org/wiki/Building_Qt_5_from_Git on how to build Qt (skip the git part if you are using the tarball)
-
You do not need to recompile Qt Creator, you need a Qt that can actually run on your arm chip. To get that you will most likely need to recompile Qt.