Difference between revisions of "Mini2440 Qt"
From Kenneth Noyens
(→Cross compile Qt SDK) |
|||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
bitbake meta-toolchain-qte | bitbake meta-toolchain-qte | ||
− | tar -C / -xjf angstrom- | + | sudo tar -C / -xjf /home/oe/oe/build/deploy/glibc/sdk/angstrom- ... -linux-gnueabi-toolchain-qte.tar.bz2 (use TAB) |
</pre> | </pre> | ||
+ | |||
== Cross compile your Qt program == | == Cross compile your Qt program == | ||
cd in the directory of your .pro file | cd in the directory of your .pro file |
Revision as of 16:54, 13 March 2010
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