<?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] mac qt app in the dock does not respond to file drop]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I want to drag a file and let it drop on my qt app icon in the dock (Mac OS X 10.6.8, Qt 4.7.3). On Windows this is working but on mac the qt app does not respond to the drop attempt although I followed the qt drag-and-drop documentation and implemented the functions &lt;dragEnterEvent&gt;,  &lt;dragMoveEvent&gt;, &lt;dropEvent&gt; and &lt;setAcceptDrops(true)&gt;. I also use the <a target="_blank" rel="noopener noreferrer nofollow ugc">QEvent::FileOpen:</a> event. If I double click on the appropriate file my app opens correctly.</p>
<p dir="auto">What may be wrong?</p>
<p dir="auto">Thanks for your help.<br />
Peter</p>
]]></description><link>https://forum.qt.io/topic/30900/solved-mac-qt-app-in-the-dock-does-not-respond-to-file-drop</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 14:48:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30900.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Aug 2013 18:12:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] mac qt app in the dock does not respond to file drop on Thu, 22 Aug 2013 07:46:22 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome !</p>
<p dir="auto">Since it's all good, can you update your thread's title to solved ? So other forum users may know a solution has been found :)</p>
]]></description><link>https://forum.qt.io/post/192098</link><guid isPermaLink="true">https://forum.qt.io/post/192098</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 22 Aug 2013 07:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] mac qt app in the dock does not respond to file drop on Thu, 22 Aug 2013 07:34:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi SGaist,</p>
<p dir="auto">thanks a lot, that solved my problem!</p>
<p dir="auto">Peter</p>
]]></description><link>https://forum.qt.io/post/192087</link><guid isPermaLink="true">https://forum.qt.io/post/192087</guid><dc:creator><![CDATA[pebee4art]]></dc:creator><pubDate>Thu, 22 Aug 2013 07:34:36 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] mac qt app in the dock does not respond to file drop on Tue, 20 Aug 2013 19:10:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Have a look at the "QFileOpenEvent":<a href="http://qt-project.org/doc/qt-4.8/qfileopenevent.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/doc/qt-4.8/qfileopenevent.html</a> online documentation, I have added a little note that explains how to activate that feature.</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/191775</link><guid isPermaLink="true">https://forum.qt.io/post/191775</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 20 Aug 2013 19:10:44 GMT</pubDate></item></channel></rss>