<?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 can I use the QtMqtt code?]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/100705/how-can-i-use-the-qtmqtt-code">How can I use the QtMqtt code?</a><br />
Hi, I'm trying to use the qtmqtt library, but I can't make it work.<br />
I modified the source code as said in the referenced topic (deleting all  &lt;QtMqtt/ prefixes), but I obtained this:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/699efb74-5a92-4799-8b8a-583fa0c9e8b0.png" alt="captura.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">It says that, i.e.,<br />
'class QList&lt;QMqttTopicName&gt;' has no member named 'resize'; did you mean 'size'?<br />
m_receiveAliases.resize(m_clientPrivate-&gt;m_serverConnectionProperties.maximumTopicAlias());<br />
^~~~~~<br />
size</p>
<p dir="auto">Can you help me? I'm using Qt 5.15.0<br />
Thanks!</p>
]]></description><link>https://forum.qt.io/topic/117075/how-can-i-use-the-qtmqtt-code</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 20:00:55 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/117075.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2020 12:54:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Mon, 17 Aug 2020 12:22:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/churro">@<bdi>churro</bdi></a></p>
<blockquote>
<p dir="auto">You have to change the branch and not download the default one. Select the correct qt version and not the master branch!</p>
</blockquote>
<p dir="auto">You may want to look at step #16 from this <a href="https://wiki.qt.io/RaspberryPi2EGLFS" target="_blank" rel="noopener noreferrer nofollow ugc">guide</a></p>
]]></description><link>https://forum.qt.io/post/612719</link><guid isPermaLink="true">https://forum.qt.io/post/612719</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Mon, 17 Aug 2020 12:22:48 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Mon, 17 Aug 2020 01:24:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> Hey, after googling and searching for a solution to my problem which looks exactly like what you had, I came to your answer.</p>
<p dir="auto">I'm a starter. Could you please explain to me how you managed to solve this issue? I get the same errors and I think I downloaded the wrong repo after reading your answer.<br />
Thanks in advance.</p>
]]></description><link>https://forum.qt.io/post/612618</link><guid isPermaLink="true">https://forum.qt.io/post/612618</guid><dc:creator><![CDATA[churro]]></dc:creator><pubDate>Mon, 17 Aug 2020 01:24:23 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Thu, 16 Jul 2020 21:05:10 GMT]]></title><description><![CDATA[<p dir="auto">Finally, I resolve this issue.<br />
For all who read this topic, please be careful on which repo do you download. You have to change the branch and not download the default one. Select the correct qt version and not the master branch!<br />
Thanks for all who helped!</p>
]]></description><link>https://forum.qt.io/post/607322</link><guid isPermaLink="true">https://forum.qt.io/post/607322</guid><dc:creator><![CDATA[pabloleibo]]></dc:creator><pubDate>Thu, 16 Jul 2020 21:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Thu, 16 Jul 2020 15:00:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> said in <a href="/post/607226">How can I use the QtMqtt code?</a>:</p>
<blockquote>
<p dir="auto">I tried to build QtMqtt from the github repo</p>
</blockquote>
<p dir="auto">And?<br />
did you succeed installing it properly?</p>
]]></description><link>https://forum.qt.io/post/607236</link><guid isPermaLink="true">https://forum.qt.io/post/607236</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Thu, 16 Jul 2020 15:00:57 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Thu, 16 Jul 2020 14:25:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi to all!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> said in <a href="/post/607212">How can I use the QtMqtt code?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> The error messages are not related to QtMqtt.<br />
QList does not have resize() method.<br />
And QStringView does not have method split().</p>
</blockquote>
<p dir="auto">Yes, I don't know why!</p>
<p dir="auto">@Pablo-J-Rogina said in <a href="/post/607224">How can I use the QtMqtt code?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> said in <a href="/post/607210">How can I use the QtMqtt code?</a>:</p>
<blockquote>
<p dir="auto">I'm trying to use the qtmqtt library</p>
</blockquote>
<p dir="auto">did you build and install the Qt MQTT module?</p>
</blockquote>
<p dir="auto">Yes, I tried to build QtMqtt from the github repo.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/post/607226</link><guid isPermaLink="true">https://forum.qt.io/post/607226</guid><dc:creator><![CDATA[pabloleibo]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:25:08 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Thu, 16 Jul 2020 14:18:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> said in <a href="/post/607210">How can I use the QtMqtt code?</a>:</p>
<blockquote>
<p dir="auto">I'm trying to use the qtmqtt library</p>
</blockquote>
<p dir="auto">did you build and install the Qt MQTT module?</p>
]]></description><link>https://forum.qt.io/post/607224</link><guid isPermaLink="true">https://forum.qt.io/post/607224</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to How can I use the QtMqtt code? on Thu, 16 Jul 2020 13:01:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pabloleibo">@<bdi>pabloleibo</bdi></a> The error messages are not related to QtMqtt.<br />
QList does not have resize() method.<br />
And QStringView does not have method split().</p>
]]></description><link>https://forum.qt.io/post/607212</link><guid isPermaLink="true">https://forum.qt.io/post/607212</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 16 Jul 2020 13:01:27 GMT</pubDate></item></channel></rss>