How to handle the Mac OS X Open, Open with command or double clicking on a file with Qt
General and Desktop
3
Posts
2
Posters
947
Views
2
Watching
-
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.
Thanks. -
Hi,
You have to look at QFileOpenEvent
For that to work you must also setup your plist file following this