I have an application relying on QtWebKit, running on a platform with no GPU so I can't upgrade to QtWebEngine. I used to build QtWebKit on Buildroot using the release package qtwebkit-opensource-src-5.5.1.tar.xz and it worked fine.
Since QtWebKit has been removed from 5.6 release packages I'm trying to build from the github repo this time:
The exact version used is the same as the meta-qt5:
While the build process goes well at first, libQt5WebKit.so generated just fine, then it complains about missing headers:
Source/WebKit/qt/WidgetApi/qwebframe.h:29:36: fatal error: QtWebKit/qwebkitglobal.h: No such file or directory
Indeed, when looking at the previous release package, an include folder was there with QtWebKit/qwebkitglobal.h whereas in my case the header is in Source/WebKit/qt/Api/qwebkitglobal.h.
So my question: how do we generate this include folder with the copy of the right headers at the right place? Is there a script to do it?
I've tried using the previous Buildroot build procedure (qmake + make):
Then I also tried following qtwebkit wiki by issuing:
cd $(@D); $(TARGET_MAKE_ENV) ./Tools/Scripts/build-webkit --qt --release
Both result in the same missing header error.
Any hint is appreciated ;)