Wojciech Reszelewski
Wojciech Reszelewski

Reputation: 2706

QWebView display nothing on windows

I'm porting a QT application from linux to windows. It's extremely strange process and now I encountered a problem I can't solve. I've compiled code and it runs, but I'm using QWebView and when on linux it displays the page (google maps) correctly on windows I see only a white background. I've read that maybe I need some additional image library, but I don't know the name. Does anyone know how to solve this problem?

EDIT: It may be case with images or js - an html input type=text added to a page displays. I've copied to MyAp/imageformats image plugins from QTPATH/plugins/imageplugins and it didn't help

Upvotes: 1

Views: 1480

Answers (3)

Jan Struhar
Jan Struhar

Reputation: 11

I had the same problem on Windows/MinGW app. I bundled 2 dlls with the installation, libeay32.dll and ssleay32.dll and QWebView was able to make https:// requests afterwards.

I copied these DLLs from TortoiseSVN installation which happened to be installed on my computer.

Upvotes: 0

Wojciech Reszelewski
Wojciech Reszelewski

Reputation: 2706

What really helped was setting up QT_DEBUG_PLUGINS environmental variable with value 1 and turning on program using qt, in console I could see that I'm missing OpenSSl libraries. Installation of this libraries solved the problem.

Upvotes: 1

Related Questions