[Development] Exposing QMimeDatabase to QML; QtQml.Utils?

J-P Nurmi jpnurmi at qt.io
Mon Apr 24 14:36:38 CEST 2017


On Mon, 2017-04-24 at 15:25 +0300, Alberto Mardegan wrote:
> Hi all,
>   in addition to making QMimeType usable from QML [1], jpnurmi also
> suggested of exposing QMimeDatabase as a singleton.
> 
> The open question is where this element should be added: I suggested
> QtQtml.Models, given that it's a database, but maybe creating a
> separate
> module QtQml.Utils might be a better idea?
> 
> If so, do you have suggestions for other classes to be exposed by it?
> 
> Ciao,
>   Alberto
> 
> [1]: https://codereview.qt-project.org/191777
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

Hi,

QML Settings, being currently in the Qt.labs namespace, could graduate
later there. And QStandardPaths could be a nice addition too.

-- 
J-P Nurmi




More information about the Development mailing list