QML Image Source seems to change the IP of an Image Adress
-
Hi
I have the following problem:
From an UPnP-Server, I get the adress of an image, like this:
@
http://127.0.0.1:6051/thumbnail?id=1688&mimetype=image/jpeg
@This one I give as a String to an Image.source in my QML-Code
I get back the following error-Message:
@
QML Image: Error downloading http://172.24.7.73 - server replied: Service Unavailable
@Here I have to say, that 172.24.7.73 is the IP-Adress of local-host, but I can not reach it from my Qt-Program, because a proxy is in use, which blockes this adress (I described that problem already here: "http://qt-project.org/forums/viewthread/20637/":http://qt-project.org/forums/viewthread/20637/
So my question is: Is it really the QML what is changing the URL? If so, why and - more important - is the a way to avoid this?
-
You can define which QNetworkAccessManager the engine uses to request stuff. If you have a custom QNAM which resolves things in the way you want, that might solve your issue.