[Qt-interest] Mac: Accessing filenames when started with "open -a"

Christian Lackas delta at lackas.net
Fri Feb 11 09:34:35 CET 2011


* Oliver.Knoll at comit.ch <Oliver.Knoll at comit.ch> [110210 18:44]:

Hi Oliver,


> > On Linux and Windows this works as expected, as does calling
> >     /Application/MyApp/Contents/MacOS/MyApp file1.dcm file2.dcm ...
> "Think different": On Mac opening files works differently. Support for
> this has been added to Qt 4.x (I guess since 4.1), see
>   http://doc.qt.nokia.com/qq/qq18-macfeatures.html#newevents
>   http://doc.qt.nokia.com/4.7/qfileopenevent.html

thanks a lot, that was exactly what I was looking for. 
Unfortunately, I did not come up with good search terms to find it
myself. Also read the other stuff in 'Qt/Mac Special Features' with
great interest.

Thanks again,
 Christian

-- 
http://www.spect-ct.com/ http://www.inviCRO.com/ http://www.vivoquant.com/



More information about the Qt-interest-old mailing list