Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
QML Image Source seems to change the IP of an Image Adress
outdoor_guy last edited by
I have the following problem:
From an UPnP-Server, I get the adress of an image, like this:
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?
chrisadams last edited by
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.