Cross-compiling QT application

Yayati Ekbote
Hi,

I am new to QT embedded. I have prepared an application in QT SDK 4.6.1. on
x86 platform based linux. Now i wish to put that application on ARM9 board
device friendly arm with linux 2.6.13 installed. What steps should i follow
so that i can run my application on friendly arm??
QT documentation says some procedure which i did not understand. Do i need
any other compiler to compile QT project which will create the executable
for ARM9 board?

PJvG
I think this thread might help you out:
http://www.friendlyarm.net/forum/topic/439?lang=en

Also I'd suggest to look into Openembedded (
http://wiki.openembedded.net/index.php/Getting_started ) or maybe
Buildroot..

Look around, there are tutorials on how to do this.

Good luck! ;)

JFMartel
Hi,

I do develop Qt applications on the mini2440 and it works great.

- You have to setup the ARM compiler on your host machine so you can build
your Qt application for the ARM9 target.
- After, you have to compile the Qt library with this ARM compiler.  This
version of the library will have a specific ARM configuration so when you
call QMAKE, it will know which compiler to invoke and which plugins to
enable.
-Then once all of this is done (this took me looong time !) you have to
setup the mini2440 to run Qt apps.

There are some good walkthrough to execute all of the above.
http://blog.cor-net.org/embedded/mini2440/qt-45-on-mini2440/
http://automon.donaloconnor.net/date/2009/01/25/
http://emsys.denayer.wenk.be/emdem/course/qt.pdf

Have fun !