<?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[Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui?]]></title><description><![CDATA[<p dir="auto">I have a internal memory manager code , which is made as statically linked library . is is possible to link a customized  static libraries to dynamic libarries of LibQtCore and libQtGui</p>
]]></description><link>https://forum.qt.io/topic/70443/is-is-possible-to-link-a-customized-static-libraries-to-dynamic-libarries-of-libqtcore-and-libqtgui</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 12:46:31 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/70443.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Aug 2016 20:20:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Thu, 25 Aug 2016 13:42:47 GMT]]></title><description><![CDATA[<p dir="auto">Oh, boy ...</p>
]]></description><link>https://forum.qt.io/post/344194</link><guid isPermaLink="true">https://forum.qt.io/post/344194</guid><dc:creator><![CDATA[kshegunov]]></dc:creator><pubDate>Thu, 25 Aug 2016 13:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Thu, 25 Aug 2016 11:07:25 GMT]]></title><description><![CDATA[<p dir="auto">I will a final executable in which libQtCore.a and libQGui.a and I will <a href="http://libQwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQwt.so</a> and <a href="http://libQscintall.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQscintall.so</a> and as I mentioned the requirement is to make  <a href="http://libQwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQwt.so</a> and <a href="http://libQscintall.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQscintall.so</a> without having dependency on <a href="http://libQCore.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQCore.so</a>  and <a href="http://libQtGui.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQtGui.so</a></p>
]]></description><link>https://forum.qt.io/post/344143</link><guid isPermaLink="true">https://forum.qt.io/post/344143</guid><dc:creator><![CDATA[Qt Enthusiast]]></dc:creator><pubDate>Thu, 25 Aug 2016 11:07:25 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Thu, 25 Aug 2016 08:45:16 GMT]]></title><description><![CDATA[<p dir="auto">To add to <a class="plugin-mentions-user plugin-mentions-a" href="/user/kshegunov">@<bdi>kshegunov</bdi></a>, if you don't want any code from Qt in Qwt and Qsinctilla, why are you using them in the first place ?</p>
]]></description><link>https://forum.qt.io/post/344113</link><guid isPermaLink="true">https://forum.qt.io/post/344113</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 25 Aug 2016 08:45:16 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Thu, 25 Aug 2016 08:33:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-enthusiast">@<bdi>Qt-Enthusiast</bdi></a> said in <a href="/post/343642">is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui</a>:</p>
<blockquote>
<p dir="auto">Also how can verify the newly compiled <a href="http://qwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">qwt.so</a> and <a href="http://qscintilla.so" target="_blank" rel="noopener noreferrer nofollow ugc">qscintilla.so</a> is taking QT symbols from my static library of QT libQtCore.a and libQtGui.a</p>
</blockquote>
<p dir="auto">I already told you in <a href="https://forum.qt.io/topic/69964/recompiled-shared-libraries-of-qwt-and-qscintiall-without-dependencies-on-runtime-qt-libraries/6">your previous thread</a> not to do that! What you're attempting is to duplicate the symbols (i.e. putting <code>QtCore</code> both in <code>qwt</code> and <code>scintilla</code>) and then link both of those shared objects.</p>
<p dir="auto"><strong>It's a mess!</strong> Symbols are getting hidden silently (or overwritten on Linux), globals are duplicated (or overwritten on Linux) and initialized in different binaries (without guarantee for order of initialization) ...<br />
Even if you're able to make it work on Linux, which I really doubt, the moment you switch to Windows you're going to be neck deep in horse sh*t ...</p>
]]></description><link>https://forum.qt.io/post/344109</link><guid isPermaLink="true">https://forum.qt.io/post/344109</guid><dc:creator><![CDATA[kshegunov]]></dc:creator><pubDate>Thu, 25 Aug 2016 08:33:42 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Thu, 25 Aug 2016 05:08:36 GMT]]></title><description><![CDATA[<p dir="auto">Segmentation fault . i want to make</p>
<ol>
<li>Shared libraries QWt and Qscintilla an it should not depend on /include the code of  QtCore and QtGui</li>
<li>Static libraries QWt and Qscintilla an it should not depend on /include the code of  QtCore and QtGui</li>
</ol>
<p dir="auto">If i give</p>
<p dir="auto">#QT     -= gui core<br />
#LIBS   -= -lQtGui -lQtCore<br />
option in qwtconfig.pri then my compliation for qwt fails</p>
]]></description><link>https://forum.qt.io/post/344068</link><guid isPermaLink="true">https://forum.qt.io/post/344068</guid><dc:creator><![CDATA[Qt Enthusiast]]></dc:creator><pubDate>Thu, 25 Aug 2016 05:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Tue, 23 Aug 2016 20:09:19 GMT]]></title><description><![CDATA[<p dir="auto">What do you mean by crash ?</p>
]]></description><link>https://forum.qt.io/post/343775</link><guid isPermaLink="true">https://forum.qt.io/post/343775</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 23 Aug 2016 20:09:19 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Tue, 23 Aug 2016 09:48:35 GMT]]></title><description><![CDATA[<p dir="auto">I  tried the my tool crahes I did following steps</p>
<p dir="auto">1)checkout code for qwt from my central repositry<br />
2) It is for linux centos platform<br />
3) set the qmake path where Qt Static libs have been built<br />
for example<br />
setenv PATH "path to qmake where where Qt Static libs have been built"<br />
3)  build the dynamic libraries</p>
<p dir="auto">but in this  case my tools crahes</p>
<p dir="auto">One very basic question , If I have memory manger  which is made as static library</p>
<ol>
<li>libmymem.a</li>
<li>libgui.a   application gui code is  static library</li>
<li>we are using shared libraries  of .so  <a href="http://libQtgui.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQtgui.so</a> , <a href="http://libQtCore.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQtCore.so</a> , <a href="http://libqwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqwt.so</a> <a href="http://libscintilla.so" target="_blank" rel="noopener noreferrer nofollow ugc">libscintilla.so</a></li>
</ol>
<p dir="auto">Is it not conceptually possible the the libgui.a can access the code from libmymem.a even if we use the shared libraries from of Qt  <a href="http://libQtgui.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQtgui.so</a> , <a href="http://libQtCore.so" target="_blank" rel="noopener noreferrer nofollow ugc">libQtCore.so</a> , <a href="http://libqwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqwt.so</a> <a href="http://libscintilla.so" target="_blank" rel="noopener noreferrer nofollow ugc">libscintilla.so</a></p>
<p dir="auto">-----------Also how can verify the newly compiled <a href="http://qwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">qwt.so</a> and <a href="http://qscintilla.so" target="_blank" rel="noopener noreferrer nofollow ugc">qscintilla.so</a> is taking QT symbols from my static library of QT libQtCore.a and libQtGui.a</p>
]]></description><link>https://forum.qt.io/post/343642</link><guid isPermaLink="true">https://forum.qt.io/post/343642</guid><dc:creator><![CDATA[Qt Enthusiast]]></dc:creator><pubDate>Tue, 23 Aug 2016 09:48:35 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Mon, 22 Aug 2016 06:57:21 GMT]]></title><description><![CDATA[<p dir="auto">Then you have a static build of Qt, in that case use that version of Qt to build Qwt.</p>
]]></description><link>https://forum.qt.io/post/343446</link><guid isPermaLink="true">https://forum.qt.io/post/343446</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 22 Aug 2016 06:57:21 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Mon, 22 Aug 2016 03:01:13 GMT]]></title><description><![CDATA[<p dir="auto">No I have a application in which I have <a href="http://libqwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqwt.so</a> and then have libQtCore. and libQtGui.a I have source code of qwt . When I make the dynamic libaray of  <a href="http://libqwt.so" target="_blank" rel="noopener noreferrer nofollow ugc">libqwt.so</a> at that time can specify It can link to static libraries  libQtCore. and libQtGui.a I</p>
]]></description><link>https://forum.qt.io/post/343427</link><guid isPermaLink="true">https://forum.qt.io/post/343427</guid><dc:creator><![CDATA[Qt Enthusiast]]></dc:creator><pubDate>Mon, 22 Aug 2016 03:01:13 GMT</pubDate></item><item><title><![CDATA[Reply to Is is possible to link a customized static libraries to dynamic libarries of LibQtCore and libQtGui? on Sun, 21 Aug 2016 20:24:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If you mean linking your application against static and dynamic dependencies, then yes you can.</p>
]]></description><link>https://forum.qt.io/post/343400</link><guid isPermaLink="true">https://forum.qt.io/post/343400</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 21 Aug 2016 20:24:57 GMT</pubDate></item></channel></rss>