<?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[[SOLVED] Remove entire QStringList]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">How can I remove all objects of a QStringList. I tried it with a while-loop like this:</p>
<p dir="auto">@while( myStringList[0] != NULL)<br />
{<br />
myStringList.removeLast();<br />
}@</p>
<p dir="auto">I always encountered runtime errors. Compiling was no problem.</p>
<p dir="auto">Thx for help!</p>
]]></description><link>https://forum.qt.io/topic/5879/solved-remove-entire-qstringlist</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 10:37:23 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/5879.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 May 2011 18:28:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Remove entire QStringList on Mon, 16 May 2011 20:02:30 GMT]]></title><description><![CDATA[<p dir="auto">That's it, haven't seen the wood for the trees. Thx!</p>
]]></description><link>https://forum.qt.io/post/88249</link><guid isPermaLink="true">https://forum.qt.io/post/88249</guid><dc:creator><![CDATA[david.luggen]]></dc:creator><pubDate>Mon, 16 May 2011 20:02:30 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Remove entire QStringList on Mon, 16 May 2011 18:35:32 GMT]]></title><description><![CDATA[<p dir="auto">Use the clear() member function of QList.</p>
]]></description><link>https://forum.qt.io/post/88227</link><guid isPermaLink="true">https://forum.qt.io/post/88227</guid><dc:creator><![CDATA[Zlatomir]]></dc:creator><pubDate>Mon, 16 May 2011 18:35:32 GMT</pubDate></item></channel></rss>