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

qml runtime: Info.plist doesn't agree with QML mime type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • 6.8
    • 6.4.0 Beta4
    • QML: Tooling
    • None

    Description

      qtdeclarative/tools/qml/resources/Info.plist has

          <key>UTExportedTypeDeclarations</key>
            <array>
              <dict>
                <key>UTTypeIdentifier</key>
                <string>org.qt-project.qml</string>
                <key>UTTypeDescription</key>
                <string>Qt Markup Language</string>
                <key>UTTypeConformsTo</key>
                <array>
                  <string>public.plain-text</string>
                </array>
                <key>UTTypeTagSpecification</key>
                <dict>
                  <key>public.filename-extension</key>
                  <array>
                    <string>qml</string>
                  </array>
                </dict>
              </dict>
            </array>
      

      See https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html about what that's supposed to mean. QML no longer falls in the category of "proprietary data formats", so perhaps we do not need this UTExportedTypeDeclarations section at all. (Since the qml runtime is unfortunately no longer an app bundle, I still don't know how to get it to handle the FileOpen requests anymore either, or how to get it to open qml files from Finder. So this may not be used anymore. I still think we need an app-bundle runtime, but on macOS that's in conflict with being able to conveniently run it from the command line.)

      Anyway our mime type is text/x-qml (since 2018): see QTBUG-37420

      CFBundleGetInfoString should be removed too, according to QTBUG-74872

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes