Tuesday, 13 August 2013

Jpeg images not shown in Qwebview

Jpeg images not shown in Qwebview

I have a weird situation, Have been using Qt5 Creator with a custom build
Qt5 library, working ok.
The app is using a Qwebview as UI and needs to show remote jpg files
(user's pictures stored on a server) This has always worked, but now it
doesn't work anymore.
I've been playing around with Qt5 libraries because of another issue
(related to snowleopard) and I thought this might be the source of the
problem, so to be sure, I took my wife's macbook and installed a fresh Qt5
install and builded Qt5 from git with sql support. Took my project files
over and... same problem!
When I go into the browser console and hit something like:
window.location.href ="http://www.pathtosomepngfile.png";
then it shows me the png image, but if I do the same with a remote jpg
file, then it shows me the 'image not found' symbol instead.
Any Idea why my Qwebview suddently doesn't shows me jpegs anymore on the
macs running Qt?

No comments:

Post a Comment