Skip to main content.

Qt for embedded Linux 4.5.2 on MPC5200 based board with Coral-P[A] GDC


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.


This document was written by Anatolij Gustschin (agust {at} denx {dot} de).


Building the Libraries and Demos

Download the source tar ball, extract and patch it:

 $ wget -c
 $ 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

Prepare for cross compiling using ELDK and build:

 $ 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"

Running Demos

Now boot the board using ELDK root file system over NFS and run some Qt demos, e.g.:

 # cd /opt/QtEmbedded-4.5.2-mpc5200
 # demos/mainwindow/mainwindow -qws &
 # demos/deform/deform &

-- AnatolijGustschin - 04 Aug 2009