Search code examples
qtqtwebkit

Passing byte array to Javascript inside QTWebView from QT C++ code


I wish to take a file from the filesystem and pass it to a Web View hosted javascript that is loaded from a remote server.

Thanks.


Solution

  • Found the solution. Passed it as a Base64 Encoded String.