Skip to main content.
Navigation:
DENX
>
DULG
>
AN2009_08_QtEmbeddedOnMPC5200andCoralP
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
DULG
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
DULG Home
BoardSelect
Manual
FAQ
Application Notes
Changes
Index
List of pages in DULG
Search
---+!! Qt for embedded Linux 4.5.2 on MPC5200 based board with Coral-P[A] GDC %TOC% ---++ Abstract This application note describes building Qt for embedded Linux 4.5.2 for MPC5200 based board with Coral-P[A] GDC using ELDK. Currently there are some issues with incorrect color appearance in "OnScreen-Painting Mode" which hopefully will be resolved soon. ---++ Author This document was written by Anatolij Gustschin (agust {at} denx {dot} de). ---++ Requirements * MPC5200 based board with Coral-P[A] GDC * ELDK installed on the host * [[ftp://ftp.denx.de/pub/fujitsu/Coral-P/Qt-Embedded-4.5.2/qt-embedded-4.5.2-mpc5200-coralpa-support.patch][This patch]] for Qt for embedded Linux 4.5.2 ---++ Building the Libraries and Demos Download the source tar ball, extract and patch it: <verbatim> $ wget -c http://get.qt.nokia.com/qt/source/qt-embedded-linux-opensource-src-4.5.2.tar.gz $ tar xzf qt-embedded-linux-opensource-src-4.5.2.tar.gz $ cd qt-embedded-linux-opensource-src-4.5.2 $ patch -p1 < <path-to>/qt-embedded-4.5.2-mpc5200-coralpa-support.patch </verbatim> Prepare for cross compiling using ELDK and build: <verbatim> $ export QTDIR=$PWD $ export PATH=$QTDIR/bin:$PATH $ export CROSS_COMPILE=ppc_82xx- $ export INSTALL_ROOT=/opt/eldk/ppc_6xx $ cd src/corelib/arch/ $ ln -s powerpc/ ppc_82xx $ cd ../../../ $ ./configure -prefix /opt/QtEmbedded-4.5.2-mpc5200 -embedded ppc_82xx \ -big-endian -depths 15,16,24,32 -no-nis -no-cups \ -no-openssl -no-mmx -no-3dnow -no-sse -no-sse2 \ -confirm-license -opensource $ make $ su -c "make install" </verbatim> ---++ Running Demos Now boot the board using ELDK root file system over NFS and run some Qt demos, e.g.: <verbatim> # cd /opt/QtEmbedded-4.5.2-mpc5200 # demos/mainwindow/mainwindow -qws & # demos/deform/deform & </verbatim> -- Main.AnatolijGustschin - 04 Aug 2009