Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Security issue (Cross-Origin)
Lachrymology last edited by Lachrymology
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?