Hi,

It's probably not a good idea to ignore https verification errors in
your app. Still, if you insist on doing it you could probably subclass
QQmlNetworkAccessManagerFactory and override it's create method. This
should allow you to create a custom QNetworkAccessManager to be used by
QML engine. Than you can connect a slot to it's sslErrors signal and
call QNetworkReply::ignoreSslErros() on the reply argument of your slot.

/ptw

> Hi!
>
> I have searched for this question on Qt/QML but can't find any answer so far:
>
> Anyone knows if its possible to turn of ssl verification on https requests 
> when 
> using XMLHttpRequest object in QML?
>
>
>
>

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to