ipfs / integrations

https://docs.ipfs.tech
MIT License
5 stars 1 forks source link

Qt (C++ framework) #19

Open markg85 opened 1 year ago

markg85 commented 1 year ago

One of the parts of the Qt framework is IO handling.

I'm not entirely sure how IPFS integration in Qt would look like. I "think" there would be something like a "QIPFS" and a "QIPNS" class handing the IPFS/IPNS specifics.

A potential different way would be to integrate IPFS handing in their QFile class. However, as that is very much local-filesystem based i'm assuming that a patch integrating IPFS at that level is a no-go.

How Qt works is that eventually any IO resource is at it's deepest level a QIODevice. Implementing IPFS from that layer onward is probably the right approach.

This could be a pre-requirement for https://github.com/ipfs/integrations/issues/5 and make implementing that specific issue much easier.

Note Qt is used in a lot of places (desktop, mobile). But perhaps even more interestingly is Qt's usage in the automotive and other forms of embedded systems.