Mini2440 Qt

From Kenneth Noyens
Revision as of 16:40, 21 February 2010 by Kenneth (talk | contribs)

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
tar -C / -xjf angstrom-armv5te-linux-gnueabi-toolchain-qte.tar.bz2

Cross compile your Qt program

cd in the directory of your .pro file

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