How to handle the Mac OS X Open, Open with command or double clicking on a file with Qt
I have a Qt application for the Mac which loads it's own data file. I cannot get the file information when the Open or Open With command is invoked for this file or when the file is double clicked. My application runs but I don't see the name or path of the file to be opened.
Were does one get this on the Mac. Or what must I do to be able to open the file in my application.
Any help would be very much appreciated.
You have to look at QFileOpenEvent
For that to work you must also setup your plist file following this
Thank you for your help. I will take a look at that.