Reputation: 1005
I can't find any concrete pointers on the qt.io site how to actually build qt5.6 together with qtwebkit, so any hint is appreciated. I can build qt5.6.0 flawlessly from the git repo in dev mode, however I don't know the further steps to re add qtwebkit. Somebody out there who did it already?
Upvotes: 1
Views: 2737
Reputation: 13
I'm also trying to build Qt webkit together with 5.6.0, I got the source not from git but from the community release directory: http://download.qt.io/community_releases/5.6/5.6.0/
I put the content of the .tar.gz in qtwebkit submodule next to qtbase, it's trying to build it but then I have an error:
.pch/debug/QtWebKitWidgets_debug/c++.pch
../include/QtWebKitWidgets/QtWebKitWidgetsDepends:7:10: fatal error: 'QtWebKit/QtWebKit' file not found
#include <QtWebKit/QtWebKit>
^
1 error generated.
make[4]: *** [.pch/debug/QtWebKitWidgets_debug/c++.pch] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-widgetsapi-pri-make_first-ordered] Error 2
make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
make: *** [module-qtwebkit-make_first] Error 2
Upvotes: 1
Reputation: 11754
QWebKit
is deprecated as of 5.6.0 (https://wiki.qt.io/New_Features_in_Qt_5.6) however it is still buildable for Qt 5.6 (but you should consider migrating at some point).
The easiest way to do it is to clone the git
repository into the same source directory and build it like a normal Qt
project. If you want to do it the ultra standard way you can add it as a submodule and follow the same steps they perform in the init-repository
script but it's not necessary.
Upvotes: 0