Another set of js file API already exist:
https://developer.mozilla.org/en-US/docs/Web/API/FileReader

Rich.

On 10 August 2016 at 16:09, Jason H <jh...@gmx.com> wrote:

> I know it's not a normal thing, but occasionally in QML we need to access
> files. Exposing an object is not hard, but it would be really good to have
> a standard to enable QML libraries that use file IO.
>
> There are two ways to basically so this:
> - QML Specific API
> - Node.JS-compatible API
>
> I did find this: https://github.com/trollixx/node.qml
> But I think this is something Qt needs to standardize on. My opinion is to
> use the Node API, which contains sync and async functions.
>
> Does anyone have any opinions or insight on this?
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to