Cross Compiling Qt for Embedded Arm: not found


Staff member
I am trying to cross compile Qt with WebKit for an embedded arm device (freescale processor). I have a arm-none-linux-gnueabi toolchain.

Qt actually compiled, but I have run into problems when trying to compile the demos, in particular the WebKit ones, which is really what I am after.

The first problem I was having was that libjscore was not found, which was an error due to the way Qt handles static builds. Turns out you can copy the library and it works, see <a href="">here</a>.

Now compilation breaks again saying it can not find, which would seem to be a toolchain problem rather than a Qt problem.

Searching the directory tree in my toolchain, there are several libpthreads. A copy of the <strong><em>find | grep libpthread</em></strong> command's output is below for reference.


So it seems that there is something weird with the linker? Also, what needs to be symlinked to create the <em></em>?

Note: the _libpthread.so_orig_ and <em></em> follow this <a href="“ld-cannot-find-liblibpthread-so-0″/" rel="nofollow noreferrer">fix</a>.

Any help or suggestions are much appreciated. I've been banging my head against a wall for two days now.