<?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[Unable to check file existence if special character exist in path(foloded)]]></title><description><![CDATA[<p dir="auto">unable to check file existence if special character exist in path(foloded)</p>
<p dir="auto">" C:\Users\JAVA\Music\Mikaq#$% "</p>
<p dir="auto">if i check existence of file at this path i am unable to check it.</p>
<p dir="auto">@<br />
QString coverPath= (QString::fromStdString(album_name.toCString())+".png");<br />
coverPath=coverPath.remove(QRegExp("\s+$"));<br />
TagBuilder.storeCoverArt((iterator.fileInfo().absolutePath()+"/"+ coverPath),iterator.fileInfo().absoluteFilePath());<br />
obj_track.cover_path = iterator.fileInfo().absolutePath()+"/"+coverPath;<br />
if(!QFile::exists(obj_track.cover_path))<br />
{<br />
obj_track.cover_path=QString::fromStdString((iterator.fileInfo().absolutePath()+"/folder.jpg").toStdString());<br />
if(!QFile::exists(obj_track.cover_path))<br />
{<br />
obj_track.cover_path=QString::fromStdString((iterator.fileInfo().absolutePath()+"/folder.png").toStdString());<br />
if(!QFile::exists(obj_track.cover_path))<br />
{<br />
obj_track.cover_path = "qrc:///resources/images/no-artwork.png" ;<br />
}<br />
}<br />
}@</p>
]]></description><link>https://forum.qt.io/topic/19413/unable-to-check-file-existence-if-special-character-exist-in-path-foloded</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 05:26:28 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/19413.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Aug 2012 10:52:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to check file existence if special character exist in path(foloded) on Fri, 12 Oct 2012 09:58:21 GMT]]></title><description><![CDATA[<p dir="auto">hello i under stand the problem but dont have result .<br />
problem is at qml sile image source is not taking special character.<br />
can you help .</p>
<p dir="auto">problem code:</p>
<p dir="auto">@    Image {<br />
id: artwork<br />
height: 100<br />
width: 100<br />
source: coverart     //here is the path with special character like(C:/Users/Administrator.VIVEK-PC/Music/Vicky Donor~!@#$%^&amp;()/Vicky Donor.png)<br />
smooth: true<br />
z: 9<br />
anchors.horizontalCenter: parent.horizontalCenter<br />
anchors.top: parent.top<br />
anchors.topMargin: 8<br />
} @</p>
]]></description><link>https://forum.qt.io/post/150499</link><guid isPermaLink="true">https://forum.qt.io/post/150499</guid><dc:creator><![CDATA[vivekmalik2466]]></dc:creator><pubDate>Fri, 12 Oct 2012 09:58:21 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to check file existence if special character exist in path(foloded) on Wed, 29 Aug 2012 06:05:26 GMT]]></title><description><![CDATA[<p dir="auto">check this:<br />
use  "double back slash : \" and test it (if not windows , test double slash ://)</p>
]]></description><link>https://forum.qt.io/post/148851</link><guid isPermaLink="true">https://forum.qt.io/post/148851</guid><dc:creator><![CDATA[absfrm]]></dc:creator><pubDate>Wed, 29 Aug 2012 06:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to check file existence if special character exist in path(foloded) on Tue, 28 Aug 2012 11:28:47 GMT]]></title><description><![CDATA[<p dir="auto">Please explain how you are "unable to check" it. What error do you get?</p>
<p dir="auto">Also, please provide a simpler version of your code, to make it easier to see the error. The code you posted has too many conversions, that are not related to the error.</p>
]]></description><link>https://forum.qt.io/post/148790</link><guid isPermaLink="true">https://forum.qt.io/post/148790</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Tue, 28 Aug 2012 11:28:47 GMT</pubDate></item></channel></rss>