Important: Please read the Qt Code of Conduct -

Javascript accessing local files in a webview?

  • Hi guys,

    I am trying to run pdf.js (a library built using js and html5 to show pdf inside a webview)
    in a webview but the js is not able to access local pdf files

    I am using Qt quick 2

    How could i change the security permissions from the webview to be able to access local files?

  • Can any one please help?

Log in to reply