<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error while setting cross compiler in QT5.2.1]]></title><description><![CDATA[<p dir="auto">I am working on cross compiling QT apps for BeagleBone Black.<br />
I have installed QT5.2.1 on Ubuntu 14.04 and its working perfectly for Ubuntu.<br />
I have installed compiler <strong>gcc-linaro-arm-linux-gnueabihf 4.8-2013.04-20130417_linux</strong> for cross compilation.<br />
But when I am setting up cross compiler I getting red mark on my kit option and error below :</p>
<p dir="auto"><strong>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)</strong></p>
<p dir="auto">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.</p>
]]></description><link>https://forum.qt.io/topic/56264/error-while-setting-cross-compiler-in-qt5-2-1</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 06:43:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/56264.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jul 2015 07:29:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while setting cross compiler in QT5.2.1 on Sat, 11 Jul 2015 15:17:47 GMT]]></title><description><![CDATA[<p dir="auto">did you create a .../qtbase/mkspecs/ folder for your compiler with the correct settings for qmake.conf and qplatformdefs.h?</p>
<p dir="auto">did you configure with the right platform?  Looks like Qt it's using x86 mkspecs.  For my Arm system it's:</p>
<p dir="auto">-xplatform arm-none-linux-gnueabi-g++<br />
-platform linux-g++<br />
-device-option CROSS_COMPILE=/opt/CodeSourcery/bin/arm-none-linux-gnueabi-</p>
]]></description><link>https://forum.qt.io/post/281961</link><guid isPermaLink="true">https://forum.qt.io/post/281961</guid><dc:creator><![CDATA[Jeff Andle]]></dc:creator><pubDate>Sat, 11 Jul 2015 15:17:47 GMT</pubDate></item></channel></rss>