Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106486

Info.plist example shows obsolete CFBundleTypeExtensions key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0 Beta4
    • Documentation
    • None
    • macOS

    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

          Activity

            People

              richard Richard Moe Gustavsen
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: