Hi.

I have a QWebEngineView loading a html from Qt resources which works fine. I can also add images to the resources and use them as source for my <img> elements in the web page. My problem is that I can't dynamically add images to the webpage at runtime without using a horrible hack (see: http://stackoverflow.com/questions/6...object-in-html).

The images I want to load are on the local system, so my first thought was to reference them using the file:// protocol, but this is not allowed.

My second thought was to add images to the Qt resource system at runtime, but that doesen't seem to be possible either.

Is there really no nice way to add new images to QWebEngine web pages?

Best regards
Jakob Simon-Gaarde