Re: Dropping Qt4 WebKit

Wolfgang Bauer <[email protected]>
Newsgroups gmane.linux.suse.kde
Message-ID <1699067.9NJvpAnTGK@amiga>
Am Donnerstag, 14. Dezember 2017, 18:31:04 schrieb Wolfgang Bauer:
> - build it without libQtWebKit4, i.e. remove the "BuildRequires:
> pkgconfig(QtWebKit)"
> Judging from the CMakeLists.txt that seems to be possible.
> It would disable "browser integration" though, I have no idea what that
> means exactly and if that is acceptable or not. (never used or installed
> FreeCAD myself)
> 
> I just gave it a try and it fails during compilation though, because a
> QtWebKit include file is not found. :-(
> /home/abuild/rpmbuild/BUILD/FreeCAD-0.16.6712/src/Gui/DownloadManager.cpp:36
> :24: fatal error: QWebSettings: No such file or directory
> [  569s]  #include <QWebSettings>

This patch from Arch might help:
https://git.archlinux.org/svntogit/community.git/tree/trunk/remove-qtwebkit.patch?h=packages/freecad

The build for Tumbleweed failed early though, because of the latest boost 
changes. (would need adjustments to the build requirements I suppose)

And for Leap it fails now with:
 /home/abuild/rpmbuild/BUILD/FreeCAD-0.16.6712/src/Mod/Web/Gui/BrowserView.h:32:20: 
fatal error: QWebView: No such file or directory
 #include <QWebView>

Arch apparently has this to fix that problem:
https://git.archlinux.org/svntogit/community.git/tree/trunk/remove-webgui.patch?h=packages/freecad
No idea yet if that's "portable" to openSUSE.

But maybe it helps?

Otherwise, I'll try to play more with it in the next days...

Kind Regards,
Wolfgang

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.