Weird Qt cross compiling issue


I recently bought a Beaglebone Black, with the LCD4 cape as I want to start learning about ARM development and embedded linux.

The board has worked for be flawlessly and I easily now have the board with Qt4-embedded running on the built in Angstrom distro. The videos by Derek Molloy were very helpfull, though they seem a bit out of date now.

Anyway over the last several weeks of weekends and some weekday nights, what has been causing me pain is trying to setup an anstrom sdk and cross-compiling toolchain, but I’m almost there, I just have a weird Qt linking issue.

As a background, I’m doing this all on a Debian Virtual machine because the Angstrom 2012.12 setup doesn’t work in my normal Fedora 19 (relies of some deprecated functionality that was removed in one program in F19).

To setup my tool chain I did these commands:

mkdir angstrom_beaglebone
cd angstrom_beaglebone
git clone git://

cd setup-scripts
MACHINE=beaglebone ./ config beaglebone MACHINE=beaglebone ./ update MACHINE=beaglebone ./ bitbake virtual/kernel
MACHINE=beaglebone ./ bitbake systemd-image

MACHINE=beaglebone ./ bitbake meta-toolchain

Then I found out about meta-toolchain-qte, so I then ran:

MACHINE=beaglebone ./ bitbake meta-toolchain-qte

Then I installed the SDK:

cd ~/angstrom_beaglebone/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/deploy/sdk
sudo ./

Installed into default place, but had some permissions issues so in
sudo chmod -R 777 oecore.i686

finally I’ve added this into my .bashrc:

source /usr/local/oecore-i686/environment-setup-armv7a-vfp-neon-angstrom-linux-gnueabi

Now for the test project, which is based on Derek’s video though slightly tweaked.

I’ve installed the Qt5.1.1 SDK and am using the QtCreator 2.8.1 from that, though using the 4.8.1 that comes with the sdk.
Here’s my .pro file:


I have a similar problem.

bitbake meta-toolchain
source …
hg or any python script give the following error :

‘stdlib’: ‘{base}/’+sys.lib+’/python{py_version_short}’,
AttributeError: ‘module’ object has no attribute ‘lib’

Did you find out how to fix it ?

Best regards,

use precompiled ones:

Thank you.