[Development] Qml mime types

Mohamed Fawzi Fawzi.Mohamed at digia.com
Tue Jan 8 18:44:05 CET 2013


That is a good point, currently the license is 1393 characters, so I think 20000 should be enough (it doen't look like there is any limit in the range, other than being implicitly 32 bit in some places...

Fawzi
________________________________________
From: Rutledge Shawn
Sent: Tuesday, January 08, 2013 5:16 PM
To: Mohamed Fawzi
Cc: development at qt-project.org
Subject: Re: [Development] Qml mime types

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