Skip to main content
Topic: Qt5WebKit dependency even though disabled in cmake-gui (Read 1652 times)

Qt5WebKit dependency even though disabled in cmake-gui

Otter has Qt5WebKit dependency even though I unchecked it in cmake-gui.
But Qt5.6.0 has no Qt5WebKit! What do you think should I do? Cmake exits with the error message "Could not find a package configuration file provided by "Qt5WebKit" with any of the following names: Qt5WebKitConfig.cmake  qt5webkit-config.cmake"

Re: Qt5WebKit dependency even though disabled in cmake-gui

Reply #1
@rincewind, QtWebKit is still used by HtmlBookmarksImporter, you could try to comment out usage of that class (in CMakeLists.txt and ImportDialog.cpp), then you can safely remove WebKit WebKitWidgets from CMakeLists.txt and it should be good enough to build without QtWebKit.
Of course this will be removed in near future, but so far it is not yet decided how to replace usage of QtWebKit in that importer.
BTW, QtWebKit turned out to be not so dead after all, some third party developers are attempting to bring it back on top of up to date WebKit version.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

Re: Qt5WebKit dependency even though disabled in cmake-gui

Reply #2
Thanks, now compiling works (after commenting out KF5Sonnet too).
But when I execute otter after installation it wants to use the debian files and fails.
It has something to do with RPATH I guess, but all my attempts failed.

Re: Qt5WebKit dependency even though disabled in cmake-gui

Reply #3
Ok, got it:
export LD_LIBRARY_PATH=/opt/qt5/lib did the trick for runtime