<?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[How do I deploy in-tree qt library to Raspberry Pi?]]></title><description><![CDATA[<p dir="auto">All,<br />
I have a library that I have build for the raspberry pi 3 using Qt5.8.  It is built in-tree as a sub project.  What is the best method to deploy this to rpi so that my main rpi qt app can use it.  I have been manually copying it to lib directory.<br />
This is the pro setup:</p>
<pre><code>
QT       += network
QT       += serialport

QT       -= gui

TARGET = rpi-utils
TEMPLATE = lib

DEFINES += RPIUTILS_LIBRARY

SOURCES += rpiutils.cpp \
           PIgpio.cpp \
           IOserial.cpp

HEADERS += rpiutils.h\
        rpi-utils_global.h \
        PIgpio.h \
        IOserial.h \
        acs_hfo_comm_intf.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}
</code></pre>
<p dir="auto">Thank you for any help.</p>
]]></description><link>https://forum.qt.io/topic/78238/how-do-i-deploy-in-tree-qt-library-to-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 02:49:15 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/78238.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Apr 2017 18:44:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I deploy in-tree qt library to Raspberry Pi? on Wed, 19 Apr 2017 19:30:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a><br />
Thank you ambershark!<br />
I will use that method and mark as solved.</p>
]]></description><link>https://forum.qt.io/post/388714</link><guid isPermaLink="true">https://forum.qt.io/post/388714</guid><dc:creator><![CDATA[sly110]]></dc:creator><pubDate>Wed, 19 Apr 2017 19:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to How do I deploy in-tree qt library to Raspberry Pi? on Fri, 21 Apr 2017 22:12:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sly110">@<bdi>sly110</bdi></a> No problem, if you'd like some examples of my set up let me know and I can post one here.</p>
]]></description><link>https://forum.qt.io/post/389245</link><guid isPermaLink="true">https://forum.qt.io/post/389245</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Fri, 21 Apr 2017 22:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to How do I deploy in-tree qt library to Raspberry Pi? on Wed, 19 Apr 2017 19:30:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ambershark">@<bdi>ambershark</bdi></a><br />
Thank you ambershark!<br />
I will use that method and mark as solved.</p>
]]></description><link>https://forum.qt.io/post/388714</link><guid isPermaLink="true">https://forum.qt.io/post/388714</guid><dc:creator><![CDATA[sly110]]></dc:creator><pubDate>Wed, 19 Apr 2017 19:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to How do I deploy in-tree qt library to Raspberry Pi? on Fri, 14 Apr 2017 03:29:23 GMT]]></title><description><![CDATA[<p dir="auto">I usually have a lib directory in my application distribution tar/gz.  I would put my supporting libs there.</p>
<p dir="auto">I have bash scripts that build my tar/gz distribution.  Also in that script I have a start script which sets the LD_LIBRARY_PATH so it can use the local lib directory rather than one at a system level.</p>
]]></description><link>https://forum.qt.io/post/387882</link><guid isPermaLink="true">https://forum.qt.io/post/387882</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Fri, 14 Apr 2017 03:29:23 GMT</pubDate></item></channel></rss>