On Wednesday 28 January 2009 17:18:04 Nacho Abejaro wrote:

> It used to work well (until QT 4.4.3), but I've noticed that, after I've
> compiled it with the latest QT 4.4.5 snapshots, it doesn't work anymore: it
> does change the images src, but the change is not reflected in the browser.
> However, if, instead of an image located in the local disk, I choose an
> image located in a Web server (changing first line in the Javascript
> function by something like: newSource = "http://anyserver/anyfile.jpg";), it
> works!

First of all, I hope it did not work in Qt4.4.3. If your page got loaded from 
http:// it is not allowed to access local resources. Your script gets 
evaluated from the same (Security)Context as the rest of the scripts...

z.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to