<?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[Project Dependencies]]></title><description><![CDATA[<p dir="auto">Hi,<br />
My project uses <a href="https://doc-snapshots.qt.io/qtopcua/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">QtOpcUa</a>. How to include all opcua Dependencies in conditional way ? , to be able to compile that project with another qt version that is not linked with qtopcua</p>
]]></description><link>https://forum.qt.io/topic/109959/project-dependencies</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 18:55:31 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/109959.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Dec 2019 08:44:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Project Dependencies on Fri, 20 Dec 2019 08:52:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
You mean to conditionally have<br />
QT += opcua<br />
in the pro file and</p>
<p dir="auto">also be able to turn on/off<br />
#include &lt;QtOpcUa&gt;</p>
<p dir="auto">around in your app ?</p>
<p dir="auto">I use the following construct</p>
<p dir="auto">DEFINES += USEIT</p>
<p dir="auto">contains(DEFINES, USEIT) {<br />
QT += opcua<br />
}</p>
<p dir="auto">and you can conditioally use the include too. maybe with a define you set in .pro file so its<br />
all controled with one key in .pro file</p>
]]></description><link>https://forum.qt.io/post/568425</link><guid isPermaLink="true">https://forum.qt.io/post/568425</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Fri, 20 Dec 2019 08:52:10 GMT</pubDate></item><item><title><![CDATA[Reply to Project Dependencies on Fri, 20 Dec 2019 08:55:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> hi<br />
thank you very much, i will try right now.</p>
]]></description><link>https://forum.qt.io/post/568427</link><guid isPermaLink="true">https://forum.qt.io/post/568427</guid><dc:creator><![CDATA[ODБOï]]></dc:creator><pubDate>Fri, 20 Dec 2019 08:55:37 GMT</pubDate></item><item><title><![CDATA[Reply to Project Dependencies on Fri, 20 Dec 2019 08:52:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
You mean to conditionally have<br />
QT += opcua<br />
in the pro file and</p>
<p dir="auto">also be able to turn on/off<br />
#include &lt;QtOpcUa&gt;</p>
<p dir="auto">around in your app ?</p>
<p dir="auto">I use the following construct</p>
<p dir="auto">DEFINES += USEIT</p>
<p dir="auto">contains(DEFINES, USEIT) {<br />
QT += opcua<br />
}</p>
<p dir="auto">and you can conditioally use the include too. maybe with a define you set in .pro file so its<br />
all controled with one key in .pro file</p>
]]></description><link>https://forum.qt.io/post/568425</link><guid isPermaLink="true">https://forum.qt.io/post/568425</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Fri, 20 Dec 2019 08:52:10 GMT</pubDate></item></channel></rss>