Hi,
I’m obviously missing something here, but i’ve added a QWebView through the creator interface, and in my mainwindow constructor, I add:
ui->webView->load(QUrl(“http://www.google.com/”));
Immediatly the program terminates with the following debug messages:
QSslSocket: cannot resolve TLSv1_1_client_method
QSslSocket: cannot resolve TLSv1_2_client_method
QSslSocket: cannot resolve TLSv1_1_server_method
QSslSocket: cannot resolve TLSv1_2_server_method
QSslSocket: cannot resolve SSL_select_next_proto
QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
Auto configuration failed
5492:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:122:fopen(‘d:/SDKs/lib/ssl/openssl.cnf’,‘rb’)
5492:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:127:
5492:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199:
QMutex: destroying locked mutex
I have QT += webkitwidgets webkit in my pro file,
and have inluded:
#include <QtWebKitWidgets/QWebView>
#include <QUrl>
Any ideas? Thanks
BTW, If I miss off the ‘http://’ the program runs, but I still have an empty WebView
↧