<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt ftp on raspberry ...]]></title><description><![CDATA[<p dir="auto">Hi i'm trying to use QtFtp on my raspberry but with no success !</p>
<p dir="auto">At first, this is my config :</p>
<ul>
<li>raspberry pi 2 raspbian jessie with Qt5.5.1 (i use this image : <a href="http://thebugfreeblog.blogspot.fr/" target="_blank" rel="noopener noreferrer nofollow ugc">http://thebugfreeblog.blogspot.fr/</a>, an incredible man that make a driver to use qtmultimedia in HW (gpu) !!! work very well , try it !)</li>
<li>my host pc is under kubuntu 15.10 64 bit, with qt 5.5.1</li>
<li>use cross compile to make my programs on the rasp</li>
</ul>
<p dir="auto">Why i need QtFtp when Qt advise to use networkManager ? because with QnetworkAccessManager we can't list the tree of ftp server, create a folder ... like the QFtp class ...</p>
<p dir="auto">At first i have downloaded the source here :  <a href="https://github.com/qtproject/qtftp" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/qtproject/qtftp</a><br />
To test it, i build it for my workstation, works fine !</p>
<p dir="auto">Now try to built it for the raspberry, for information my raspberry image (jessie with qt5.5.1) is mounted here on my workstation : */opt/rpi/sysroot/ and the compil *toolchain <em>/opt/rpi/gcc-linaro-arm-linux-gnueabihf-raspbian/</em></p>
<p dir="auto">Now, i copy the source of qtftp on /opt/rpi/sysroot/usr/local/Qt-rasp2-5.5.1/qtftp-master/</p>
<p dir="auto">make a sync before the build :<br />
/opt/rpi/sysroot/usr/local/Qt-rasp2-5.5.1/bin/syncqt.pl -version 5.5.1</p>
<p dir="auto">qmake :<br />
/opt/rpi/sysroot/usr/local/Qt-rasp2-5.5.1/bin/qmake ./qtftp.pro</p>
<p dir="auto">and make :<br />
export PATH=/opt/rpi/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH<br />
make</p>
<p dir="auto">and i have this error during the compilation :</p>
<p dir="auto">/opt/rpi/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.gold: error: cannot open /opt/rpi/sysroot/usr/lib/arm-linux-gnueabihf/libm.so</p>
<p dir="auto">Do you know how i can resolve this ?</p>
]]></description><link>https://forum.qt.io/topic/61208/qt-ftp-on-raspberry</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 08:59:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/61208.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Nov 2015 17:59:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt ftp on raspberry ... on Sun, 29 Nov 2015 08:18:35 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps it's the problem ! Thank's for your time lucas and your work !</p>
]]></description><link>https://forum.qt.io/post/300371</link><guid isPermaLink="true">https://forum.qt.io/post/300371</guid><dc:creator><![CDATA[modjo756]]></dc:creator><pubDate>Sun, 29 Nov 2015 08:18:35 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ftp on raspberry ... on Sun, 29 Nov 2015 01:00:18 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://libm.so" target="_blank" rel="noopener noreferrer nofollow ugc">libm.so</a> points to /lib/arm-linux-gnueabihf/libm.so.6. It may be wrong if your sysroot is in /opt/rpi/sysroot. I'd try to make it relative. QtFtp seems to build for me, but I didn't test it.</p>
]]></description><link>https://forum.qt.io/post/300360</link><guid isPermaLink="true">https://forum.qt.io/post/300360</guid><dc:creator><![CDATA[Luc4]]></dc:creator><pubDate>Sun, 29 Nov 2015 01:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ftp on raspberry ... on Sat, 28 Nov 2015 21:51:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi, i don't know if it's a crosscompiled version of 'libm'. I use the image of raspbian jessie + qt5.5.1 of this Guy -&gt; <a href="http://thebugfreeblog.blogspot.fr" target="_blank" rel="noopener noreferrer nofollow ugc">http://thebugfreeblog.blogspot.fr</a> ?</p>
<p dir="auto">At first i cry that i have a problem with the image that i mount since my pc because this lib is present but have a symbolique link. To correct this i mount directly the raspberry sd card on opt/rpi/sysroot but i have the same problem. If a put this on a shell  :<br />
<em>modjo@Linux-corei5:/opt/rpi/sysroot/usr/lib/arm-linux-gnueabihf$ ls -l | grep <a href="http://libm.so" target="_blank" rel="noopener noreferrer nofollow ugc">libm.so</a></em><br />
<em>lrwxrwxrwx 1 root root       34 sept.  6 03:59 <a href="http://libm.so" target="_blank" rel="noopener noreferrer nofollow ugc">libm.so</a> -&gt; /lib/arm-linux-gnueabihf/libm.so.6</em></p>
<p dir="auto">We can see the link ! but yet this error: <em>cannot open /opt/rpi/sysroot/usr/lib/arm-linux-gnueabihf/libm.so</em></p>
]]></description><link>https://forum.qt.io/post/300347</link><guid isPermaLink="true">https://forum.qt.io/post/300347</guid><dc:creator><![CDATA[modjo756]]></dc:creator><pubDate>Sat, 28 Nov 2015 21:51:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qt ftp on raspberry ... on Sat, 28 Nov 2015 20:04:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/modjo756">@<bdi>modjo756</bdi></a> said:</p>
<blockquote>
<p dir="auto">error: cannot open /opt/rpi/sysroot/usr/lib/arm-linux-gnueabihf/libm.so</p>
</blockquote>
<p dir="auto">Do you have a cross compiled version of "libm" in this location?<br />
That is apparently missing.</p>
]]></description><link>https://forum.qt.io/post/300326</link><guid isPermaLink="true">https://forum.qt.io/post/300326</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Sat, 28 Nov 2015 20:04:28 GMT</pubDate></item></channel></rss>