title: Opening files from Finder with a Qt-based application?
body: <p>Apparently, for Cocoa applications, you're supposed to implement <code>[[NSApp delegate] application:openFile:]</code> or something like that to allow your application to open files double clicked in Finder.</p>
  
  <p>How do you achieve this functionality using Qt, as the name of the file to be opened is not passed on the command line?</p>