<?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[Open File like double clicking it]]></title><description><![CDATA[<p dir="auto">In Windows i can open any File by double clicking it. It will be opened with the Favourit Programm, like images or Videos. Now i have a Listbox with Items, like Images. And i want to trigger an Event that open me the Item with a double click. The Items are Files on my PC. Anyone know how i can solve this? Maybe with QProcess?</p>
]]></description><link>https://forum.qt.io/topic/80220/open-file-like-double-clicking-it</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 19:10:32 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/80220.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jun 2017 08:59:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Open File like double clicking it on Mon, 12 Jun 2017 09:12:51 GMT]]></title><description><![CDATA[<p dir="auto">nice thx</p>
]]></description><link>https://forum.qt.io/post/398926</link><guid isPermaLink="true">https://forum.qt.io/post/398926</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 12 Jun 2017 09:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to Open File like double clicking it on Mon, 12 Jun 2017 09:04:45 GMT]]></title><description><![CDATA[<p dir="auto">Here is a static method which can deal with it.</p>
<p dir="auto"><strong>QDesktopService::openUrl(const QUrl &amp;url);</strong></p>
<p dir="auto">The url is location of your file.</p>
]]></description><link>https://forum.qt.io/post/398920</link><guid isPermaLink="true">https://forum.qt.io/post/398920</guid><dc:creator><![CDATA[ZiJia]]></dc:creator><pubDate>Mon, 12 Jun 2017 09:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to Open File like double clicking it on Mon, 12 Jun 2017 09:02:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto"><a href="http://doc.qt.io/qt-5/qdesktopservices.html#openUrl" target="_blank" rel="noopener noreferrer nofollow ugc">QDesktopService::openUrl</a> is likely what you are looking for.</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/398919</link><guid isPermaLink="true">https://forum.qt.io/post/398919</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 12 Jun 2017 09:02:54 GMT</pubDate></item></channel></rss>