[Development] Qml mime types
Rutledge Shawn
Shawn.Rutledge at digia.com
Tue Jan 8 17:16:07 CET 2013
On 7 Jan 2013, at 11:21 AM, Mohamed Fawzi wrote:
> I would like to close the discussion if possible.
> Is the following hierarchy acceptable?
>
> text/plain; charset=utf-8
> text/vnd.qt.qml => a file adhering to the QML grammar/syntax .qml suffix
> text/vnd.qt.qtquick1+qml => .qml suffix + magic 'import QtQuick 1.' within the first 256 chars
> text/vnd.qt.qtquick2+qml => .qml suffix + magic 'import QtQuick 2.' within the first 256 chars
The QML files that ship with Qt have license headers, so the import will not be found within the first 256 chars unfortunately.
More information about the Development
mailing list