[Interest] Cannot configure Qt 5.3.x and 5.4.0 for arm

VStevenP vstevenpavao at yahoo.com
Fri Dec 12 18:15:49 CET 2014

Hi Konstantin,

I think I had this same problem awhile back.  Here are some notes from my custom qmake.conf file which I developed a long time ago for aArm cross-compile:

# In older toolchains, -march=armv7-a conflicts with -mcpu=cortex-a8.
# Use either
# -mcpu=cortex-a8
# OR
# -march=armv7-a -mtune=cortex-a8
# See https://bugs.launchpad.net/gcc-linaro/+bug/662720

QMAKE_CFLAGS_RELEASE    = -O2 -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a8

So, I think you should simply try using:


instead of

-march=armv7-a -mtune=cortex-a8

Then I think your configure may succeed.

- VStevenP

Message: 4
Date: Fri, 12 Dec 2014 15:07:36 +0300
From: Konstantin Utkin <kostaui at mail.ru>
Subject: [Interest] Cannot configure Qt 5.3.x and 5.4.0 for arm
To: interest <interest at qt-project.org>
Message-ID: <1418386056.932423577 at f406.i.mail.ru>
Content-Type: text/plain; charset="utf-8"


I'm using Qt on embedded arm platform. I have working configuration for building Qt-5.2.1:


So I'm wondering, what should I need to change in configuration to cross-compile Qt 5.3.x and higher...

Best regards,

Konstantin Utkin

More information about the Interest mailing list