Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.0 Beta4
-
None
Description
https://doc.qt.io/qt-6/qfileopenevent.html#macos-example has
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>png</string> </array> <key>CFBundleTypeRole</key> <string>Viewer</string> </dict> </array> </dict> </plist>
but https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-110725 says it was deprecated in macOS 10.5.
We need an up-to-date snippet that is tested and working.
Attachments
Issue Links
- relates to
-
QTBUG-106471 qml runtime: Info.plist doesn't agree with QML mime type
- Reported
-
QTBUG-74872 Qt/QMake includes the deprecated 'CFBundleGetInfoString' key into the Info.plist on macOS
- Closed
-
QTBUG-106460 use and document QFileOpenEvent in more places
- Reported