Qtopia hello world
Posted: Tue Oct 06, 2009 6:16 pm
Hi, anyone managed to compile the qtopia hello in the hello directory of the qtopia archive that comes in the DVD from esky-sh?
I tried to compiled all non-qtopia examples, and all of them worked fine, but not this one.
export CC=arm-linux-gcc
export PATH=$PATH:/usr/local/arm/4.3.2/bin
sh build
I get:
Could not find mkspecs for your QMAKESPEC after trying:
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia
Error processing project file: /home/rafael/arm/arm-qtopia/hello/hello.pro
rm -f *~ core *.core
arm-linux-g++ -Wl,-rpath,/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -o qmake -L/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte
/home/rafael/arm/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make: *** [qmake] Error 1
Seems like i have 2 problems:
1)The QMAKESPEC
2)THe qte library - i could not find it to link and export LD_LIBRARY_PATH
any ideas?
thanks
Rafael
I tried to compiled all non-qtopia examples, and all of them worked fine, but not this one.
export CC=arm-linux-gcc
export PATH=$PATH:/usr/local/arm/4.3.2/bin
sh build
I get:
Could not find mkspecs for your QMAKESPEC after trying:
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2
/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia
Error processing project file: /home/rafael/arm/arm-qtopia/hello/hello.pro
rm -f *~ core *.core
arm-linux-g++ -Wl,-rpath,/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -o qmake -L/home/rafael/arm/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte
/home/rafael/arm/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make: *** [qmake] Error 1
Seems like i have 2 problems:
1)The QMAKESPEC
2)THe qte library - i could not find it to link and export LD_LIBRARY_PATH
any ideas?
thanks
Rafael