[Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1

John C. Turnbull ozemale at ozemail.com.au
Sat Jul 20 22:10:50 CEST 2013


Hi Thiago,

I have it working now.  The problem seemed to be the way I installed
OpenSSL.  Initially I chose the option to install the DLLs into a
subdirectory of where I installed OpenSSL but this option didn't work.  When
I reinstalled OpenSSL and chose the other option to have them installed into
the Windows System directory I was able to get SSL happening and the Google
Maps application started working.

Thanks for all your help.  Now I am going to post about my (underwhelming)
experiences with WebView.

-jct

-----Original Message-----
From: interest-bounces+ozemale=ozemail.com.au at qt-project.org
[mailto:interest-bounces+ozemale=ozemail.com.au at qt-project.org] On Behalf Of
Thiago Macieira
Sent: Saturday, 20 July 2013 16:08
To: interest at qt-project.org
Subject: Re: [Interest] Issues with HTTPS, Google Maps, SSL, proxy & Qt 5.1

On sábado, 20 de julho de 2013 15.31.07, John C. Turnbull wrote:
> OK, so when I am in an environment that is using a proxy, the code I 
> posted to setup QNetworkProxy will just work for both HTTP and HTTPS?

No, it configures the proxies for *every* connection. It will use the
CONNECT command on the HTTP server for any and every outgoing connection
(except to "localhost"), and it will make QNetworkAccessManager issue proxy
GET and POST commands where appropriate.

> If so, that's great but I can't test it now.  My *immediate* problem 
> is that even when there is no proxy (such as right now), my attempt to 
> display Google Maps fails with the error:
> > Unable to init SSL Context:

How did you install the OpenSSL libraries? Where are the DLLs? And what does
QSslSocket::supportsSsl() return?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list