QML mime type and detection needs work
Assigned to Shared Mime Info group
Link to original bug (#104480)
See also https://bugreports.qt.io/browse/QTBUG-37420 and https://bugreports.qt.io/browse/QTBUG-64435
I think it should be application/qml rather than text/x-qml, but does that depend on having an IANA registration done first?
I want to work on the magic, so that "file" can identify a QML file. But it's kindof hard to be precise... there should be an "import something", and there should be a capitalized word followed by braces. A shebang at the top is optional. Is that enough to go on? Should I just try making a patch and then attach it if I get it working?