<?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[Error: const class QString’ has no member name ‘toStdString’, QT 4.6.3 in Kubuntu 11.10]]></title><description><![CDATA[<p dir="auto">hello all,<br />
I have a problem trying to compile a source,<br />
and displays the following error '<em>const class QString’ has no member name ‘toStdString’</em>'. in Kubuntu 11.10 with QT 4.6.3<br />
but, I have the same version of QT on Kubuntu 8.04 and compiled without problems</p>
<p dir="auto">I can be doing wrong?</p>
<p dir="auto">thanks for your answers, have a good day</p>
]]></description><link>https://forum.qt.io/topic/13051/error-const-class-qstring-has-no-member-name-tostdstring-qt-4-6-3-in-kubuntu-11-10</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:48:59 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/13051.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jan 2012 19:35:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error: const class QString’ has no member name ‘toStdString’, QT 4.6.3 in Kubuntu 11.10 on Thu, 12 Jan 2012 20:11:22 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="koahnig" date="1326398093"]welcome to devnet</p>
<p dir="auto">Qt may be compiled with different settings. There is an option allowing the use of standard strings. If this has not been switched on you may receive such an error message.</p>
<p dir="auto">You can download a version of Qt and compile it with string support. That is fairly easy.</p>
<p dir="auto">[edit] It is not string support, but stl-support</p>
<p dir="auto">"toStdString":<a href="http://developer.qt.nokia.com/doc/qt-4.8/qstring.html#toStdString" target="_blank" rel="noopener noreferrer nofollow ugc">http://developer.qt.nokia.com/doc/qt-4.8/qstring.html#toStdString</a>  description sais:</p>
<p dir="auto">[quote]<br />
This operator is only available if Qt is configured with STL compatibility enabled.<br />
[/quote][/quote]</p>
<p dir="auto">Thanks for answering!,</p>
<p dir="auto">try to compile the qt version of STL support (according to documentation is the default), including explicit</p>
<p dir="auto">. /configure -stl</p>
<p dir="auto">but did not work on linux kubuntu 11.10 at 8.04 if it works without problem.</p>
]]></description><link>https://forum.qt.io/post/123701</link><guid isPermaLink="true">https://forum.qt.io/post/123701</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 12 Jan 2012 20:11:22 GMT</pubDate></item><item><title><![CDATA[Reply to Error: const class QString’ has no member name ‘toStdString’, QT 4.6.3 in Kubuntu 11.10 on Thu, 12 Jan 2012 19:54:53 GMT]]></title><description><![CDATA[<p dir="auto">welcome to devnet</p>
<p dir="auto">Qt may be compiled with different settings. There is an option allowing the use of standard strings. If this has not been switched on you may receive such an error message.</p>
<p dir="auto">You can download a version of Qt and compile it with string support. That is fairly easy.</p>
<p dir="auto">[edit] It is not string support, but stl-support</p>
<p dir="auto">"toStdString":<a href="http://developer.qt.nokia.com/doc/qt-4.8/qstring.html#toStdString" target="_blank" rel="noopener noreferrer nofollow ugc">http://developer.qt.nokia.com/doc/qt-4.8/qstring.html#toStdString</a>  description sais:</p>
<p dir="auto">[quote]<br />
This operator is only available if Qt is configured with STL compatibility enabled.<br />
[/quote]</p>
]]></description><link>https://forum.qt.io/post/123699</link><guid isPermaLink="true">https://forum.qt.io/post/123699</guid><dc:creator><![CDATA[koahnig]]></dc:creator><pubDate>Thu, 12 Jan 2012 19:54:53 GMT</pubDate></item></channel></rss>