Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Qt GUI on AT91SAM9261EK
PostPosted: Sat Sep 08, 2007 2:41 am 
Offline

Joined: Wed Jul 04, 2007 8:01 am
Posts: 37
I am new to Qt GUI.

Has anyone successfully run Qt GUI on AT91SAM9261EK board ?

Please help to provide links or details on the cross-compiling process to get Qt GUI to run on the 9261EK board.

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 17, 2007 3:34 pm 
Offline

Joined: Wed Feb 28, 2007 3:51 pm
Posts: 26
Location: Sweden
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 17, 2007 6:40 pm 
Offline

Joined: Wed Jul 04, 2007 8:01 am
Posts: 37
Hi Mikrodidakt,

Really appreciate your feedback.

I will try it out.

Will probably need your help again :)

Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: