Hi ,
Iam a absolute Beginner in QT and Linux .
Iam trying to develop a sample Application which runs on ARM Processor(PXA270).
For this i downloaded qt-sdk-linux-x86-opensource-2009.03.1 ,created a small application which has few button and Label
It ran perfectly in Linux Machine(Fedora 9) ,
Next thing i need is make it work in ARM Linux .
I tried qmake,Makefile was created successfully.
But when I run make it was showing the following:
[nsa@WS111 s]$ qmake-qt4 -spec /usr/local/QT/qt/mkspecs/qws/linux-arm-g++ -o Makefile s.pro
[nsa@WS111 s]$ make
arm-linux-g++ -Wl,-O1 -o s -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lQtNetwork -lQtCore -lpthread
/usr/local/arm/4.0.0/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/usr/local/arm/4.0.0/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/usr/local/arm/4.0.0/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [s] Error 1
[nsa@WS111 s]$
Does Cross Compatibility mean ,the code works in Windows,MAC,Linux and Embedded Linux Without any code change?
What all steps should i do to Make my code work on ARM linux?
Some one please guide,
Iam stuck in this issue for past 4 days,
Thanks ,
nsa
Bookmarks