[Interest] Thoughts on a 'proper' (or standard) file/io API for QML?

Richard Moore rich at kde.org
Wed Aug 10 18:46:29 CEST 2016


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 <jhihn at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160810/6ceb4ea9/attachment.html>


More information about the Interest mailing list