Friday, March 5, 2010

Compiling QT-4.6.2 for ARM (DM365)

STEP 1:

Download QT from

http://qt.nokia.com/downloads/embedded-linux-cpp

Direct link to download:

http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.2.tar.gz

STEP 2:

untar this downloaded tar to your home directory

tar xvzf qt-everywhere-opensource-src-4.6.2.tar.gz

[Note:] You can find the further steps at following location as well

http://doc.trolltech.com/4.4/qt-embedded-crosscompiling.html

STEP 3:

Create your custom platform directory. Platform and toolchain specific files are located in mkspec/qws/ directory.

Copy an already existing directory in mkspecs/qws/ and modify the toolchain and platform specific files.

STEP 4:

Configure QT: for embedded platorm use

./configure –embedded arm –xplatform qws/<custom platform name> <other options>

To have look at available components use:

./configure –help

STEP 5:

make

make install

This will copy the binaries to the directory specified by –prefix

No comments: