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

Jason H jhihn at gmx.com
Wed Aug 10 17:09:17 CEST 2016


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?



More information about the Interest mailing list