Compiling Qt Application

Marco Castorina marco.castorina at yahoo.it
Mon Apr 26 07:53:52 EDT 2010


Thanks to all for your help, I did it! Here attached there's
a screenshot of the application running. I will write a
tutorial during the week-end, it's gonna be a busy week
for the end of the semester.

For those of you interested, I followed Skuerzo suggestion
and added all the linkers requested by hand, it did the trick.
Then I copied the executable on the Ben and run it with the
-qws option (it must run as a server application[1]).

Again thanks to all!

 -- 
Marco


[1] http://doc.trolltech.com/4.4/qt-embedded-running.html



>
>From: Skuerzo <skuerzo at gmail.com>
>To: "Hard- and Software Development, Kernel, Distribution, Roadmap" <developer at lists.qi-hardware.com>
>Sent: Mon, 26 April, 2010 10:16:24
>Subject: Re: Compiling Qt Application
>
>Try adding -ldirectfb (and any other it will ask).
>
>
>2010/4/26 Marco Castorina <marco.castorina at yahoo.it>
>
>>>Dear all,
>>>> sorry for the cross-posting, but maybe this is a more
>>>>appropriate list. I'm trying to compile a Qt application
>>>>for the Ben, and I'm almost there. I launch this command
>>
>>>>mipsel-openwrt-linux-g++ -I
>>>>../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/ -L../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lQtGui -lQtCore -lpthread  qtexample.cpp
>>
>>>>and the linker doesn't find some of the libraries:
>>
>>>>/home/marco/Documents/Programs/OpenWrtToolchain/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: warning: libdirectfb-1.4.so.0, needed by
>>>>
>>../OpenWrtToolchain/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
>>>>[...]
>>
>>>>How do I solve? Where do I say to uClibc where to
>>>>look? Sould I change the -L parameters?
>>
>>>>Thanks again,
>>
>>>> --
>>>>Marco
>>
>>
>>
>>
>>>>_______________________________________________
>>>>Qi Developer Mailing List
>>>>Mail to list (members only): developer at lists.qi-hardware.com
>>>>Subscribe or Unsubscribe: http://en.qi-hardware.com/mailman/listinfo/developer
>>
>
>
>-- 
>Happy coding!
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20100426/afaf331e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QtOnBen.png
Type: image/png
Size: 297209 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20100426/afaf331e/attachment.png>


More information about the discussion mailing list


interactive