pass a file object to QWebEngineView



  • hello,
    how to send an opened file inside the main application to a page in QWebEngineView and handle it by javascript FileReader() function , as it was opened by an html5 file input inside the QWebEngineView,
    thanks.



  • i found an alternative solution, it's quite simple, instead of sending object file to read with javascript, i have just to read it in the main application and inject the content via a QWebChannel


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.