Trolltech Home | Qt-embedded-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-embedded-interest Archive, June 2007
error in compiling qt/embedded for mips


Message 1 in thread

hi,

i tried to cross compile qt-embedded-3.3.4 for MIPS.but i was not successful. there were the following errors:

make[3]: Entering directory `/home/qt/qt-embedded-free-3.3.4/tools/designer'
Some of the required modules (nocrosscompiler) are not available.
Skipped.
make[3]: Leaving directory `/home/qt/qt-embedded-free-3.3.4/tools/designer'
cd assistant && make -f Makefile
make[3]: Entering directory `/home/qt/qt-embedded-free-3.3.4/tools/assistant'
/home/qt/qt-embedded-free-3.3.4/bin/uic -L /home/qt/qt-embedded-free-3.3.4/plugins finddialog.ui -o finddialog.h
make[3]: /home/qt/qt-embedded-free-3.3.4/bin/uic: Command not found
make[3]: *** [finddialog.h] Error 127
make[3]: Leaving directory `/home/qt/qt-embedded-free-3.3.4/tools/assistant'
make[2]: *** [sub-assistant] Error 2
make[2]: Leaving directory `/home/qt/qt-embedded-free-3.3.4/tools'
make[1]: *** [sub-tools] Error 2
make[1]: Leaving directory `/home/qt/qt-embedded-free-3.3.4'
make: *** [init] Error 2
SUSE-LINUX:/home/qt/qt-embedded-free-3.3.4 #

i gave the following configure options:
echo yes | ./configure -no-cups -platform mkspecs/qws/linux-x86-g++ -xplatform mkspecs/qws/linux-mips-g++  
..

has anyon faced this problem ? can anyone provide me any suggestion or solutions for this ?

thanks in advance,

saravanan.

       
---------------------------------
 Did you know? You can CHAT without downloading messenger.  Know how!

Message 2 in thread

saravanan wrote:
> hi,
>
> i tried to cross compile qt-embedded-3.3.4 for MIPS.but i was not 
> successful. there were the following errors:
>
> make[3]: Entering directory 
> `/home/qt/qt-embedded-free-3.3.4/tools/designer'
> Some of the required modules (nocrosscompiler) are not available.
> Skipped.
> make[3]: Leaving directory 
> `/home/qt/qt-embedded-free-3.3.4/tools/designer'
> cd assistant && make -f Makefile
> make[3]: Entering directory 
> `/home/qt/qt-embedded-free-3.3.4/tools/assistant'
> /home/qt/qt-embedded-free-3.3.4/bin/uic -L 
> /home/qt/qt-embedded-free-3.3.4/plugins finddialog.ui -o finddialog.h
> make[3]: /home/qt/qt-embedded-free-3.3.4/bin/uic: Command not found
> make[3]: *** [finddialog.h] Error 127
> make[3]: Leaving directory 
> `/home/qt/qt-embedded-free-3.3.4/tools/assistant'
> make[2]: *** [sub-assistant] Error 2
> make[2]: Leaving directory `/home/qt/qt-embedded-free-3.3.4/tools'
> make[1]: *** [sub-tools] Error 2
> make[1]: Leaving directory `/home/qt/qt-embedded-free-3.3.4'
> make: *** [init] Error 2
> SUSE-LINUX:/home/qt/qt-embedded-free-3.3.4 #
>
> i gave the following configure options:
> echo yes | ./configure -no-cups -platform mkspecs/qws/linux-x86-g++ 
> -xplatform mkspecs/qws/linux-mips-g++ 
> .
>
> has anyon faced this problem ? can anyone provide me any suggestion or 
> solutions for this ?
>
> thanks in advance,
>
> saravanan.
>
> ------------------------------------------------------------------------
> Did you know? You can CHAT without downloading messenger. Know how! 
> <http://us.rd.yahoo.com/mail/in/ywebmessenger1/*http://in.messenger.yahoo.com/webmessengerpromo.php> 

Qt embedded requires the uic tool during compilation.
I learned in school that  you can copy this tool from Qt X11.
I'm using Ubuntu Feisty Fawn and crosscompile Qt embedded free 3.3.8 for 
ARM.
So i installed, via the pakketmanager, Qt3 for X11.
I installed Qt3 as follows: sudo apt-get install libqt3-mt libqt3-mt-dev
I see you are using SUSE so you can take a look in your pakketmanager 
how it is named there :)
Then i found uic in /usr/bin, it was called /usr/bin/uic-qt3 so i copied 
this to the bin din in my qt embedded dir.

You can do:
cp /usr/bin/uic-qt3 /home/qt/qt-embedded-free-3.3.4/bin/uic

I'm not sure that this is "the way to go", but this will probably solve 
the problem.

Cheers

Bart Elsen

To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx


Message 3 in thread

hi,

i had successfully compiled the qt/embedded for mips.the mistake i did was that while compiling qt for target first we should compile for the host then we should compile for target. i did not compile for the host ,instead i directly compiled for the target thats why it should me error.

i have succesfully ported that to my board also(DBAU1200), but i could not run that. it says  the following error:

sh-3.00# ./aclock -qws
sh: ./aclock: No such file or directory

but when i run ls -l and found that there is qt application image of size 10.2 MB:
sh-3.00# ls -l aclock
-rwxr-xr-x    1 root     root     10727670 Aug  1 09:11 aclock
sh-3.00#    

can anyone provide me any suggestions or solutions for this ?



       
---------------------------------
 Download prohibited? No problem! CHAT from any browser, without download.