[Development] Qt5 Beta cross compiling problem

Thomas Senyk thomas.senyk at pelagicore.com
Fri Sep 28 14:50:04 CEST 2012


One side note, as I just stumbled over it:
I need to pass: -no-pch to configure

See: http://qt-project.org/forums/viewthread/20202

On Thu, September 27, 2012 05:11:23 PM Christoph Kurz wrote:
> Hi,
> 
> I have a problem cross compiling the Qt5-Beta for an i.MX6 Board.
> The host OS is a Fedora Linux, the target OS is an embedded Linux.
> 
> Steps taken so far:
> 
> – I set up LTIB and created a rootfs for the target.
> 
> – I downloaded the Qt5 sourcecode and excluded svg and webkit by renaming
> the corresponding folders
> 
> – I copied the linux-imx6-makespec in the qtbase/mkspecs folder (see
> attachment "config.txt")
> 
> - I configured the build with the following command (runs without any
> errors): ./configure -prefix /home/local/CW01/uidv7014/Qt_for_target
> -developer-build -confirm-license -opensource -nomake tests -nomake docs
> -nomake demos -nomake examples -no-xcb -no-wayland -xplatform linux-imx6
> -arch armv7 -opengl es2 -openvg -eglfs -release -v
> 
> - I tried to run make, but after a while, an error occurs (see attachment
> "error.txt")
> 
> 
> 
> As this error seems to occur in the neon-package, I excluded it by using the
> -no-neon option in the configure-command. This seems to work, but then a
> very similar error occurs in the sqlite-package and in various other
> packages, too.
> 
> I compiled the Qt5 Alpha successfully, using the same specs and environment.
> 
> Any ideas?
> 
> 
> 
> - Chris



More information about the Development mailing list