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:

-mcpu=cortex-a8

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 <kost...@mail.ru>
Subject: [Interest] Cannot configure Qt 5.3.x and 5.4.0 for arm
cross-compile
To: interest <interest@qt-project.org>
Message-ID: <1418386056.932423...@f406.i.mail.ru>
Content-Type: text/plain; charset="utf-8"

Greetings!

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

[snip]



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
-----------------------------
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to