Using QWebkit for windows with mingw
-
@artwaw
Single option is given:
qtwebkit-Windows-Windows_10-Mingw73-Windows-Windows_10-X86_64.7zSo I copied same things to both directories.
This is bin folder. It doesn't have any differencesand others are also same. Files aren't seperated
-
@Thank-You said in Using QWebkit for windows with mingw:
X86_64.7z
Those are 64bit binaries. They will not work if you compile for 32bit target.
-
@Thank-You said in Using QWebkit for windows with mingw:
Where can I get 32bit binaries?
On the same link from above I would guess.
-
@Thank-You said in Using QWebkit for windows with mingw:
But compiling with 64 bit also gives error on both debug and release.(Mentioned at the main post)
Hardly a surprise if you did not copy the 64bit binaries to the 64bit part of Qt tree.
-
@Thank-You said in Using QWebkit for windows with mingw:
Qt5WebKitWidgets.dll is looking for
QtPrivate::argToQString(QStringView)
, which is present in recent versions of Qt Core.It sounds like the latest Qt WebKit binaries are built against Qt 5.14:
- https://forum.qt.io/post/689916
- https://github.com/qtwebkit/qtwebkit/releases/tag/qtwebkit-5.212.0-alpha4
Can you update to Qt 5.14 or Qt 5.15?
-
Yes, that's one of the strength of Qt.
-
I installed QT 5.15.2 and build with it. Got all dependencies with windeployqt and added
libxml2-2.dll libxslt-1.dll
.
It now shows errorzlib1__.dll
not found.
I searched in whole qt directory but couldn't find one so I managed to downloadzlib1.dll
notzlib1__.dll
from dll-files.com.
I renamedzlib1.dll
tozlib1__.dll
and placed in binary directory. I don't know if this is good to do.
Where is zlib1__.dll located in QT??? OR it isn't related with QT?Atleast it is working in 64bit version but shows
TLS initialization failed
Which is connected to OpenSSL so I am sure I will solve this problem.
Edit:
I copiedlibcrypto-3-x64.dll
andlibssl-3-x64.dll
to executable directory but couldn't get it working
Now some problems that I can't figure out are:
It doesn't work with debug
Most importantly it doesn't work with 32 bit which is most for me.
How can I obtain it? -
@Thank-You
Now after installing another version of openssl it is working on 64bit.
I couldn't make it work in 32bit.
And I found that many websites doesn't considered it as supported version.
I found that we can embed existing application to QT application but has no idea.
Main purpose of this is to run services likegmail , google docs and other servuces
.
Which would be good?
I was just searching abt this yesterday and found about running application. Could you give links of working docs about this?I will create new question abt this
-
@Thank-You said in Using QWebkit for windows with mingw:
And I found that many websites doesn't considered it as supported version.
Web engines are very difficult to maintain because of security requirements. That is why the Qt Project replaced Qt WebKit (which was mostly maintained by the Qt folks) with Qt WebEngine (which is mostly maintained by the Chromium folks).
@Konstantin-Tokarev has done a great job making Qt WebKit compatible with recent versions of Qt, but the last update was over 1 year ago. Lots of security vulnerabilities have been discovered in WebKit since then; that is why many websites don't consider it as a supported version.
Main purpose of this is to run services like
gmail , google docs and other servuces
.
Which would be good?Qt WebEngine for desktop platforms; Qt WebView for mobile platforms.