Is it possible to open an Qt resource using C library functions via FILE*?

145 Views Asked by At

I need to pass a binary resource that's compiled into my executable to some code that expects a file path, and then uses the C standard library FILE*-based API to access it.

Of course if I pass a path recognized by Qt, like :/something.smt - it won't work, because that's not visible directly to the C library.

Is there a way to bridge the two?

0

There are 0 best solutions below