<?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[Quotation mark prints at the end of string]]></title><description><![CDATA[<p dir="auto">I am porting my application to Qt 5.5.1 from 5.2.1 and with the switch to the newer version, all the log entries printed by my application started to print with a quotation mark at the end of each line. This never happened with Qt 5.2.1. I noticed that the function tr() is causing it because if I remove tr and use the string without translation the text prints correctly.</p>
<p dir="auto">Here's an example:</p>
<p dir="auto">qWarning() &lt;&lt; "!i" &lt;&lt; tr("Emulation stopped.");</p>
<p dir="auto">This produces:  Emulation stopped"  in my log (notice the quotation mark at the end). If i don't wrap the string with tr() no quotation mark is printed.</p>
<p dir="auto">Does anyone know if this is a bug with Qt or am I doing something wrong?</p>
]]></description><link>https://forum.qt.io/topic/63686/quotation-mark-prints-at-the-end-of-string</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 16:46:00 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/63686.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Feb 2016 07:21:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Quotation mark prints at the end of string on Sat, 13 Feb 2016 20:01:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/devopia53">@<bdi>Devopia53</bdi></a> Thank you this solution worked beautifully, no more quotes at the end of strings.</p>
]]></description><link>https://forum.qt.io/post/313168</link><guid isPermaLink="true">https://forum.qt.io/post/313168</guid><dc:creator><![CDATA[a8wz]]></dc:creator><pubDate>Sat, 13 Feb 2016 20:01:42 GMT</pubDate></item><item><title><![CDATA[Reply to Quotation mark prints at the end of string on Fri, 05 Feb 2016 06:10:04 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, I will try that.</p>
]]></description><link>https://forum.qt.io/post/311583</link><guid isPermaLink="true">https://forum.qt.io/post/311583</guid><dc:creator><![CDATA[a8wz]]></dc:creator><pubDate>Fri, 05 Feb 2016 06:10:04 GMT</pubDate></item><item><title><![CDATA[Reply to Quotation mark prints at the end of string on Tue, 02 Feb 2016 08:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/a8wz">@<bdi>a8wz</bdi></a></p>
<p dir="auto">Hi,</p>
<p dir="auto">You can enable the noquote() functionality. This function was introduced in Qt 5.4.</p>
<p dir="auto">eg. qWarning().noquote() &lt;&lt; "!i" &lt;&lt; tr("Emulation stopped.");</p>
]]></description><link>https://forum.qt.io/post/310949</link><guid isPermaLink="true">https://forum.qt.io/post/310949</guid><dc:creator><![CDATA[Devopia53]]></dc:creator><pubDate>Tue, 02 Feb 2016 08:55:27 GMT</pubDate></item></channel></rss>