Hi,
How to access setErrorString() of QNetworkReply Class, as its private member but I want to add my custom message.
Thanks
Hi,
How to access setErrorString() of QNetworkReply Class, as its private member but I want to add my custom message.
Thanks
Subclass QNetworkReply and provide a way to get the relevant data to QNetworkReply::setError(). Return an instance of your QNetworkReply subclass from your QNetworkAccessManager::createRequest() override.
Thats the problem here, setError() is private and how I can access it
No, QNetworkReply::setError() is protected, not private.
Cheers,
_
Bookmarks