Notes about compiling QtWebEngine (instead of QtWebkit) together with Qt 5.5.1
Qt 5.5.0 configure switches for ICU:
configure \ -icu \ -I Q:\SharedLibraries\icu4c-51_1\icu\include \ -L Q:\SharedLibraries\icu4c-51_1\icu\lib64
Starting with 5.5.1 it shouldn’t be necessary to compile and ship ICU libraries because ICU should be included in Qt package itself.
Compile QtWebkit
It’s necessary to compile it as standalone module.
cd Qt/qtwebkit perl Tools\Scripts\build-webkit
Simpler solution
Much easier solution seem to be to use http://www.awesomium.com/ 😉
Notes:
- When changing configure settings, it’s sometimes necessary to perform complete clean rebuild. The best way how to do that is download completely new source package.
- nmake clean or nmake distclean unfortunately didn’t work for 100%
- It’s necessary to have installed Ruby, Python and Perl
Source links:
- Source download links for Qt 5.5.1: http://www.qt.io/download-open-source/#section-2
- Precompiled ICU downloads for Windows: http://www.npcglib.org/~stathis/blog/precompiled-icu/
- Qt instructions about QtWebEngine: https://wiki.qt.io/QtWebEngine_on_Windows
Other info:
- http://pempek.net/articles/2015/10/18/compiling-qt-5-5-1-with-visual-studio-2015/
- https://wiki.qt.io/Building_Qt_5_from_Git
- https://wiki.qt.io/QtWebEngine_on_Windows
- https://wiki.qt.io/How_to_Try_QtWebEngine
- http://trac.webkit.org/wiki/BuildingQtOnWindows
- http://www.ics.com/blog/building-qtwebengine
Leave a Reply