Security issue (Cross-Origin)
Solved
QtWebEngine
-
Hi all,
I'm using pdf.js in my WebEngine and it isn't able to load local files since I moved it to the resources due to the cross-origin issue.
I figured out, that the application needs the argument "--disable-web-security" to be able to load local files in this scenario.
My question: Is there any other way to turn off the web security programmatically via WebEngine or any other work-a-round?
Best regards,
Mike