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

Alberto Mardegan mardy at users.sourceforge.net
Mon Apr 24 14:25:12 CEST 2017


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



More information about the Development mailing list