[Interest] disable web security in QtWebEngine
Jason Dolan
jason at pcc.com
Thu Jul 6 14:20:57 CEST 2017
The answer is mentioned in that forum you linked to: add --disable-web-security as an argument when running your program. I’m sure you could also programmatically add it to the arguments sent to QApplication if you wanted to.
> On Jul 5, 2017, at 6:46 PM, Kevin Mcintyre <kebin70 at gmail.com> wrote:
>
> Has this been asked before?
>
> https://forum.qt.io/topic/60691/not-allowed-to-load-local-resource-for-iframe-how-to-disable-web-security/2 <https://forum.qt.io/topic/60691/not-allowed-to-load-local-resource-for-iframe-how-to-disable-web-security/2>
>
> I'm looking to run QtWebEngine in a disable-web-security mode but I cannot find any working examples.
>
> QT 5.9
>
> Thanks
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170706/ea5872ee/attachment.html>
More information about the Interest
mailing list