Difference between revisions of "Mini2440 Qt"
From Kenneth Noyens
(Nieuwe pagina aangemaakt met '<pre>cd oe/base/recipes/images/</pre> create file qt4-image.bb: <pre> require console-image.bb DEPENDS += "qt4-embedded boost tslib" IMAGE_INSTALL += "qt4-embedded \...') |
|||
Line 1: | Line 1: | ||
+ | == Filesystem == | ||
<pre>cd oe/base/recipes/images/</pre> | <pre>cd oe/base/recipes/images/</pre> | ||
create file qt4-image.bb: | create file qt4-image.bb: | ||
Line 16: | Line 17: | ||
export BBPATH=/home/oe/oe/base/ | export BBPATH=/home/oe/oe/base/ | ||
bitbake qt4-image | bitbake qt4-image | ||
+ | </pre> | ||
+ | == Cross compile Qt SDK == | ||
+ | <pre> | ||
+ | bitbake meta-toolchain-qte | ||
+ | tar -C / -xjf angstrom-armv5te-linux-gnueabi-toolchain-qte.tar.bz2 | ||
+ | </pre> | ||
+ | == Cross compile your Qt program == | ||
+ | cd in the directory of your .pro file | ||
+ | <pre> | ||
+ | . /usr/local/angstrom/arm/environment-setup | ||
+ | qmake2 | ||
+ | make | ||
</pre> | </pre> |
Revision as of 16:40, 21 February 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 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