[webkit-qt] MiniBrowser and QtTestBrowser Fail to load https pages

Jesus Sanchez-Palencia jesus.palencia at openbossa.org
Mon Aug 6 09:56:00 PDT 2012


Hi,

2012/8/6 Sravan <sra1sandela at gmail.com>:
> Hi Andras,
>
> It looks like Qt5 got built with openssl(As i see MakeFile and openssl
> binary in it)
> I tried to run the ./openssl, but nothing happened(nothing on STDOUT).
>
> And yes, as you mentioned it looks like openssl is a dependency if we want
> to use https or SSL Sockets.
> So, any other suggestions?

Open Qt5Source/qtbase/config.summary  and look for "OpenSSL support".
It will say yes or no...


Cheers,
jesus

>
> -Sravan.
>
> On Sat, Aug 4, 2012 at 2:03 AM, Andras Becsi <abecsi at webkit.org> wrote:
>>
>> Hi,
>>
>> If both MiniBrowser and QtTestBrowsers fails loading https pages ("SSL
>> Handshake Failed") that could indicate that your Qt5 wasn't built with
>> openssl which could happen if you miss some openssl development
>> packages on your system when building Qt5 (check the config test in
>> qtbase/config.tests/unix/openssl).
>>
>> For the other question: since certificateValidationDialog is an
>> experimental feature it can certainly not be considered stable but I
>> think it should work the way you tried to use it.
>>
>> /Andras
>>
>> On 3 August 2012 23:52, Sravan <sra1sandela at gmail.com> wrote:
>> > Hi,
>> >
>> > In the process of designing a UI to support certificate Validation i
>> > found
>> > few APIs of QQuickWebViewExperimental(QQmlComponent*
>> > certificateValidationDialog) that seem to be implementing this.
>> > But when i try to see the default response of a qt5 webkit2 browser on
>> > loading a https://xyz.com i see MiniBrowser and QtTestBrowser fail with
>> > different messages
>> >
>> > MiniBrowser fails to load with message: "Failed to Load xyz.html"
>> > QtTestBrowser fails : "SSL Handshake Failed"
>> >
>> > So, i just wanted to know
>> > 1. if this certificateValidationDialog API is really implemented?
>> > 2. Is there any qt browser which does this?
>> > 3. If not what all am i supposed to do to implement this UI Feature.
>> >
>> > P.S: I thought certificateValidationDialog is stable and tried to
>> > implement
>> > a Dialog in qml as an item and pass it to this API using following code
>> > in
>> > main.qml
>> >
>> > import QtWebKit.experimental 1.0
>> >
>> > Rectangle {
>> > id: root
>> > .
>> > .
>> > .
>> > .
>> > .
>> > .
>> >
>> >
>> > experimental.certificateVerificationDialog:
>> > CertificateVerificationDialog{ }
>> > .
>> > .
>> > .
>> > .
>> > .
>> >
>> > }
>> >
>> > and then write CertificateVerificationDialog.qml as a component.
>> >
>> > But i am not sure if just implementing a
>> > CertificateVerificationDialog.qml
>> > is going to be sufficient. Please let me know what am i supposed to do
>> > get
>> > it working.
>> >
>> >
>> >
>> > Thanks in anticipation.
>> >
>> > -Sravan.
>> >
>> > _______________________________________________
>> > webkit-qt mailing list
>> > webkit-qt at lists.webkit.org
>> > http://lists.webkit.org/mailman/listinfo/webkit-qt
>> >
>
>
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-qt
>


More information about the webkit-qt mailing list