PDA

View Full Version : cross compiling QT for arm archetacture



yogeshpjadhav
28th July 2010, 11:51
hi every body,
i am new to the Qt,am using omapL138 board.i want to cross compile Qt what step should i follow? is there any link available for these steps?


thanks in advance

msrihari
28th July 2010, 13:11
check this link:
http://processors.wiki.ti.com/index.php/Building_Qt_for_OMAP35xx_with_OpenGL_ES_accelerate d_by_SGX
may be helpful

yogeshpjadhav
4th August 2010, 15:36
i am following the steps given in this link http://processors.wiki.ti.com/index.php/Building_Qt#Useful_Links

for configuration i have used following command & its work fine,

./configure -prefix /home/yogesh/workdir/filesys/usr/Qt -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-OMAPL-138-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast

but the problem is at second stage that is in gmake command it showing following error msg,plz tell what should i do to make it?

../../3rdparty/zlib/zlib.h:1360: visibility arg must be one of
"hidden", "protected" or "internal"
../../3rdparty/zlib/zlib.h:1361: visibility arg must be one of
"hidden", "protected" or "internal"
../../3rdparty/zlib/zlib.h:1362: visibility arg must be one of
"hidden", "protected" or "internal"
gmake[1]: *** [.obj/release-static-emb-arm/qbytearray.o] Error 1
gmake[1]: Leaving directory `/home/yogesh/qt-everywhere-opensource-src-4.6.2/src/tools/bootstrap'
gmake: *** [sub-tools-bootstrap-make_default-ordered] Error 2

liushuo0826
5th August 2010, 03:48
You will find the way from the assistant