<?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[QDataStream problem from 4.8 to 5.1 on MacOS]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am getting error on this:<br />
@ QByteArray ba;<br />
QDataStream ds(&amp;ba, QIODevice::WriteOnly);<br />
//This will write the hash into the byte array (through the data stream)<br />
ds &lt;&lt; hash;@</p>
<p dir="auto">The error output is:<br />
licensefile.cpp:185: error: variable has incomplete type 'QDataStream'<br />
QDataStream ds(&amp;ba);<br />
^</p>
<p dir="auto">Any help please?</p>
]]></description><link>https://forum.qt.io/topic/31480/qdatastream-problem-from-4-8-to-5-1-on-macos</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 00:20:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/31480.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Sep 2013 08:53:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 20:22:15 GMT]]></title><description><![CDATA[<p dir="auto">Could you show the part of your code that triggers this ?</p>
]]></description><link>https://forum.qt.io/post/193840</link><guid isPermaLink="true">https://forum.qt.io/post/193840</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 02 Sep 2013 20:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 12:50:52 GMT]]></title><description><![CDATA[<p dir="auto">no ...</p>
]]></description><link>https://forum.qt.io/post/193771</link><guid isPermaLink="true">https://forum.qt.io/post/193771</guid><dc:creator><![CDATA[bjanuario]]></dc:creator><pubDate>Mon, 02 Sep 2013 12:50:52 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 12:06:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Are you using a custom hash ?</p>
]]></description><link>https://forum.qt.io/post/193756</link><guid isPermaLink="true">https://forum.qt.io/post/193756</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 02 Sep 2013 12:06:43 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 11:08:15 GMT]]></title><description><![CDATA[<p dir="auto">This is from qhash.h , i think this sould be something I need to put on my .pro.<br />
I even not work with QHash.h ...</p>
<p dir="auto">@template&lt;typename T&gt; inline uint qHash(const T &amp;t, uint seed)<br />
Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))<br />
{ return (qHash(t) ^ seed); }@</p>
]]></description><link>https://forum.qt.io/post/193741</link><guid isPermaLink="true">https://forum.qt.io/post/193741</guid><dc:creator><![CDATA[bjanuario]]></dc:creator><pubDate>Mon, 02 Sep 2013 11:08:15 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 09:28:03 GMT]]></title><description><![CDATA[<p dir="auto">Sorry I have no idea about that, can you perhaps post the code that generates this error?</p>
]]></description><link>https://forum.qt.io/post/193717</link><guid isPermaLink="true">https://forum.qt.io/post/193717</guid><dc:creator><![CDATA[TheBadger]]></dc:creator><pubDate>Mon, 02 Sep 2013 09:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 09:22:42 GMT]]></title><description><![CDATA[<p dir="auto">Badger tkx, stupidity :) The funny thing is on 4.8 this was working :)<br />
Now gave me the follow error:</p>
<p dir="auto">Qt5.1.0/5.1.0/clang_64/include/QtCore/qhash.h:110: error: call to 'qHash' is ambiguous<br />
Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))<br />
^~~~~</p>
]]></description><link>https://forum.qt.io/post/193714</link><guid isPermaLink="true">https://forum.qt.io/post/193714</guid><dc:creator><![CDATA[bjanuario]]></dc:creator><pubDate>Mon, 02 Sep 2013 09:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to QDataStream problem from 4.8 to 5.1 on MacOS on Mon, 02 Sep 2013 09:14:41 GMT]]></title><description><![CDATA[<p dir="auto">did you perhaps forgot the #include &lt;QDataStream&gt;?</p>
]]></description><link>https://forum.qt.io/post/193711</link><guid isPermaLink="true">https://forum.qt.io/post/193711</guid><dc:creator><![CDATA[TheBadger]]></dc:creator><pubDate>Mon, 02 Sep 2013 09:14:41 GMT</pubDate></item></channel></rss>