<?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 to link external library to Qt project]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I wanted to link external static library to Qt project. Library was developed in c++ and the IDE used was Eclipse. I had added the library to Qt project by using "Add library" option and added the dependent header file to project.<br />
On building the project,  i am getting below error<br />
"Undefined reference to method function"<br />
Here function is defined in library.</p>
<p dir="auto">Kit used for building project in QT was MINGW 32 bit.</p>
<p dir="auto">Can you please help me in resolving the issue.<br />
Thanking you in advance.</p>
]]></description><link>https://forum.qt.io/topic/95648/how-to-link-external-library-to-qt-project</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 00:51:10 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/95648.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Oct 2018 11:52:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to link external library to Qt project on Mon, 22 Oct 2018 06:50:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hareesh">@<bdi>Hareesh</bdi></a> Can you show your pro file and the whole build log?</p>
]]></description><link>https://forum.qt.io/post/488168</link><guid isPermaLink="true">https://forum.qt.io/post/488168</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 22 Oct 2018 06:50:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to link external library to Qt project on Mon, 22 Oct 2018 06:33:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
gcc compiler was used to build the library.</p>
<p dir="auto">Even i had tried to link the library which was built using Visual studio 2017 to Qt project. Here also i am getting "undefined reference error to method1" where method1 was defined in the library.</p>
<p dir="auto">Please help me out.</p>
]]></description><link>https://forum.qt.io/post/488162</link><guid isPermaLink="true">https://forum.qt.io/post/488162</guid><dc:creator><![CDATA[Hareesh]]></dc:creator><pubDate>Mon, 22 Oct 2018 06:33:23 GMT</pubDate></item><item><title><![CDATA[Reply to How to link external library to Qt project on Wed, 17 Oct 2018 11:56:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hareesh">@<bdi>Hareesh</bdi></a> What compiler was used to build the library?</p>
]]></description><link>https://forum.qt.io/post/487441</link><guid isPermaLink="true">https://forum.qt.io/post/487441</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 17 Oct 2018 11:56:00 GMT</pubDate></item></channel></rss>