Mini2440 Qt

From Kenneth Noyens
Revision as of 16:54, 13 March 2010 by Kenneth (talk | contribs) (Cross compile Qt SDK)

Jump to: navigation, search

Filesystem

cd oe/base/recipes/images/

create file qt4-image.bb:

require console-image.bb

DEPENDS += "qt4-embedded boost tslib"

IMAGE_INSTALL += "qt4-embedded \
                  tslib-calibrate tslib-tests \
                  boost-thread boost-date-time"
export IMAGE_BASENAME = "qt4-image"

Start building:

export BBPATH=/home/oe/oe/base/
bitbake qt4-image

Cross compile Qt SDK

bitbake meta-toolchain-qte
sudo tar -C / -xjf /home/oe/oe/build/deploy/glibc/sdk/angstrom- ... -linux-gnueabi-toolchain-qte.tar.bz2 (use TAB)

Cross compile your Qt program

cd in the directory of your .pro file

. /usr/local/angstrom/arm/environment-setup
qmake2
make