Hi!
I managed to get several QT GUI applications working on my at91sam9261ek, all the applications was the example applications that comes with the packages. Unfortunately it was a almost 6 month ago and I did not do any notes but I will try write what I can remember.
I assume you have a working cross compile environment I used ELDK with uclibc.
I used the qtopia core which is using the frame buffer
Extract the file to a suitable directory using:
tar xzvf qtopia-core-opensource-src-4.2.3.tar.gz
Configure the package:
cd qtopia-core-opensource-src-4.2.3.tar.gz
export QTDIR=$PWD
export LD_LIBRARY_PATH=$PWD/lib
./configure -prefix <INSTALL_PATH> -embedded arm -no-largefile -depths 16 -no-zlib -no-separate-debug-info -no-cups -static
I had to edit makefiles in direktory ./src/tools so that CXX and CC definitions are gcc and g++ instead of arm-linux-gcc and arm-linux-g++.
Build the package:
make
make install
When compiling the applications I used the command
source qtopia_dev
where qtopia_dev is a file with the following information
export PATH=/opt/trolltech/qtopia_core/bin/:/opt/trolltech/qtopia_core/lib:/usr/bin:/usr/sbin:/bin:/sbin
export QPEDIR=/opt/trolltech/qtopia_core
export QTDIR=/opt/trolltech/qtopia_core
export SET_ENV="QT Dev"
echo $SET_ENV
this link might also be helpful
http://doc.trolltech.com/4.3/qtopiacore-install.html
I compiled the library three times one for the target so I could use shared libraries one for the cross-compiler and one for the host so I could run the applications on my host. I also enabled the vitrual frame buffer which trolltech have developed. I was able to find all the information on the qt online documentation
http://doc.trolltech.com/4.3/index.html and google