Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
The custom file formats used by Qt tools should be registered as MIME types, so files of their types can have proper display with own icons & type name in file managers, file selection dialogs, file listings in web UIs (like of code repositories), IDEs, etc.
Ideally those would be registered at IANA:
https://www.iana.org/assignments/media-types/media-types.xhtml
Many (on *Linux) would be already happy if all of them were registered with shared-mime-info from freedesktop.org:
https://cgit.freedesktop.org/xdg/shared-mime-info/tree/freedesktop.org.xml.in
"text/x-qml", "application/x-designer" are already there.
Missing are at least:
- qrc file
- qmldir file
- pro/pri file
- qch file
- qdoc index file
I would be willing to create and propose the patch for shared-mime-info. For that though I would like to know the mimetype string ids and titles the Qt maintainers would like to see for the different types.
Attachments
Issue Links
- duplicates
-
QTBUG-37420 register a mime type for QML files
- Reported
- relates to
-
QTBUG-40925 support <qml_type>.ui.qml file extension
- Closed
-
QTBUG-39676 Create a way to distinguish qml files that are edited by the Qt Quick Designer from normal qml files
- Closed
-
QTBUG-85436 QMimeDatabase may not use mime type file globs properly
- Closed