Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Howto create QTVersion for Cross-compiling for ARM
Forum Updated to NodeBB v4.3 + New Features

Howto create QTVersion for Cross-compiling for ARM

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 2.4k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    Dvorkin
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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)

      (Z(:^

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dvorkin
        wrote on last edited by
        #3

        sierdzio, do you mean that I must rebuild entire QTCreator?
        Why?

        May be my question is not quite cleaк... I need QTCreator working in Windows, and compile applications for ARM, using existing, working GCC (not MinGW-based).

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dvorkin
            wrote on last edited by
            #5

            Tobias Hunger, why the QT must run on ARM chip?
            Is it possible to compile applications on my PC? It is a ordinary cross-compilation, isn't it?

            I don't need any specific QT libraries, I need only standard C libraries.

            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