I see no way to open a specific file format that Qt can open automatically (when I double-click the file). Please let me know how to do this. Thanks!
You need to configure your information properties list ( Info.plist) file in your application bundle to identify files that can be opened by your application. See http://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Introduction/Introduction.html
Info.plist
, CFBundleDocumentTypes: , ( , .. ).
, , finder plist. .
QApplication QEvent:: FileOpen. , , : http://doc.qt.nokia.com/qq/qq18-macfeatures.html
QApplication
Source: https://habr.com/ru/post/1613884/More articles:accept drop of file on dock icon - c ++Getting controller name from $ parent in AngularJS - javascriptQt 4.8.5 Mac Handle file dropping on the dock icon - qtPuppet - Pass hash as class argument - puppetHow can I programmatically cancel an appointment with Outlook asp.net VB? - .netQuick way to convert rows to ints lists in a Pandas column? - pythonC ++ Increments for loop increment logarithmically - c ++How to reduce WIDTH colorbar in matplotlib? - pythonCakePHP 3: Customize Not Found - cakephpSymfony: how to get all services and related classes - phpAll Articles