-
Notifications
You must be signed in to change notification settings - Fork 748
Installing QtWebKit Module
QtWebKit is unofficial port of WebKit which currently compiles and runs on Linux, *BSD, Windows and macOS. WebKit itself is an open source web browser engine. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. As part of KDE framework, KHTML was based on Qt. However, during their porting efforts, Apple's engineers made WebKit toolkit independent.
Here are the steps for installing QtWebKit module on Qt 5.8 :
- Download the WebKit module.
- Extract it inside
QT_DIR/5.8/{mingw53_32|clang_64|gcc_64}. - Export environment variable
QT_WEBKIT=true. - Run
qtsetup.
Note: On windows you may sometimes can't find qtsetup, but you can add libraries to be used to your pro file like following:
LIBS+= QT_DIR\5.8\mingw53_32\lib\libQt5WebKit.dll.a
QT_DIR\5.8\mingw53_32\lib\libQt5WebKitWidgets.dll.a
The precompiled libs finded in https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5 and included by previous lines work only in release.