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. Error while setting cross compiler in QT5.2.1
Qt 6.11 is out! See what's new in the release blog

Error while setting cross compiler in QT5.2.1

Scheduled Pinned Locked Moved Mobile and Embedded
qt5.2linuxcross compile
2 Posts 2 Posters 1.5k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I am working on cross compiling QT apps for BeagleBone Black.
    I have installed QT5.2.1 on Ubuntu 14.04 and its working perfectly for Ubuntu.
    I have installed compiler gcc-linaro-arm-linux-gnueabihf 4.8-2013.04-20130417_linux for cross compilation.
    But when I am setting up cross compiler I getting red mark on my kit option and error below :

    The Compiler 'xxxxxxxxx'(arm-linux-generic-elf-32bit) cannot produce code for QT version QT 5.2.1 in PATH QT5 (x86-linux-generic-elf-32bit)

    I have tried other tool chain also but with no success. I am unable to understand where I am getting wrong and how to resolve it.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jeff Andle
      wrote on last edited by
      #2

      did you create a .../qtbase/mkspecs/ folder for your compiler with the correct settings for qmake.conf and qplatformdefs.h?

      did you configure with the right platform? Looks like Qt it's using x86 mkspecs. For my Arm system it's:

      -xplatform arm-none-linux-gnueabi-g++
      -platform linux-g++
      -device-option CROSS_COMPILE=/opt/CodeSourcery/bin/arm-none-linux-gnueabi-

      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