[Development] Antwort: Building Qt5 for embedded Linux ARM
thiago.macieira at intel.com
Tue Dec 6 17:17:10 CET 2011
On Tuesday, 6 de December de 2011 17.02.46, Dietrich.Gossen at continental-
> Hi Thiago,
> thank you for your help.
> Freescale (the manufacturer of the iMX53 Board) provides an Ubuntu image
> for the board.
> So the OS is already running. All I need is to cross compile Qt5 for ARM.
> Also, there's a toolchain available that contains a compiler.
> This compiler is the arm-none-linux-gnueabi-gcc.
Good, but the compiler alone isn't enough. We need a couple more things:
> My problem right now is, that during the building process of Qt5, the
> linker can't find some libraries.
> Output.txt (attached file) contains the output and the errors of the
> These are the headers that the linker couldn't find:
Those aren't it. Those errors you got from configure -v are simply telling you
that the compiler searched for those libraries and couldn't find them. The
corresponding functionality was either disabled (PulseAudio, ICU, some SQL
drivers) or the in-tree copy was enabled (tiff, sqlite). Nothing to worry
about, unless you want to have the functionality that was disabled.
> Additionaly the arm-none-linux-gnueabi-g++ compiler does not recognize the
> following arguments:
Those are non-issues. That's just the configure -v output telling you that it
tried those arguments to gcc and found out that it doesn't support them.
That's to be expected: your ARM compiler will not support the x86 extensions.
This one means you don't have your development package for libxcb installed.
If you want to use the XCB backend for Lighthouse, you need to install that
> Any ideas?
The actual problem was the last one in your output file. Since the XCB library
could not be found, the OpenGL ES test failed too, which means Qt could not be
built. I don't know if the OpenGL ES test should be trying to link to XCB or
not, that's a question for the people who wrote that test.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/development/attachments/20111206/b8bd3e3a/attachment.bin
More information about the Development