View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002868||FreeCAD||General||public||2017-01-21 20:34||2019-01-16 16:36|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Platform||All||OS||Mac OS X|
|Target Version||0.19||Fixed in Version||0.19|
|Summary||0002868: Port QtWebKit to QtWebEngine|
|Description||As of Qt 5.6, QtWebKit is deprecated in favor of QtWebEngine. The QtWebKit source is still available but not included in any Qt 5.6 or later distros. |
Currently the Web Mod depends upon QtWebKit causing exceptions upon launch when built without QtWebKit
Qt 5.7 is already out and the plan is for FreeCAD 0.17 to release on Qt 5.x so we need to find a path to remove the dependency on QtWebKit.
|duplicate of||0003774||closed||Support of QtWebEngine as alternative to QtWebkit|
|related to||0001401||closed||wmayer||Problem w/ MDI windows on OSX (AKA transition from QGLWidget to QOpenGLWidget )|
|related to||0002953||closed||Icons not rendered on New doc|
|child of||0002986||closed||wmayer||Port from Qt4 to Qt5 (Ongoing)|
According to https://wiki.debian.org/Qt4WebKitRemoval the Qt4 webkit package has been removed but a Qt5 webkit is at least maintained until Qt6 will appear. It's true that Qt webkit is not part of the Qt base any more but it's still available as an add-on.
Under Ubuntu 18.04 building the Web module works without changing a single line and at runtime it works flawlessly.
According to https://stackoverflow.com/questions/29055475/qwebview-or-qwebengineview at some point in the future we must move to Qt webengine but there is no reason to do this now unless we need the latest and greatest HTML5 features.
Since our start page doesn't need these features we can stay with webkit for now. IMO, we can do the move when we fully drop Qt4 support.
Here is an initial port to webengine: https://github.com/wwmayer/FreeCAD/commits/webengine
However, the QtWebEngineWidgets is a very heavy package and thus we should think about using something more lightweight. Maybe Qt's QML or QtQuick is an option.
||Changed summary to QtWebEngine|
A merge request has been created with 0003774 to offer QtWebEngine as an alternative. This will be done for v0.19, then.
|2017-01-21 20:34||blacey||New Issue|
|2017-01-21 21:05||Kunda1||Tag Attached: Qt|
|2017-01-21 21:05||Kunda1||Tag Attached: Qt5|
|2017-01-21 21:06||Kunda1||Relationship added||related to 0001401|
|2017-01-22 14:26||Kunda1||Summary||Port to QtWebKit to QtWebKitEngine => Port QtWebKit to QtWebKitEngine|
|2017-03-09 23:43||Kunda1||Relationship added||related to 0002953|
|2017-03-27 17:26||Kunda1||Relationship added||child of 0002986|
|2018-04-22 19:02||wmayer||Note Added: 0011179|
|2018-04-24 13:34||wmayer||Note Added: 0011189|
|2018-04-24 13:34||wmayer||Note Edited: 0011189||View Revisions|
|2019-01-14 20:52||Kunda1||Summary||Port QtWebKit to QtWebKitEngine => Port QtWebKit to QtWebEngine|
|2019-01-14 20:52||Kunda1||Note Added: 0012433|
|2019-01-14 20:52||Kunda1||Target Version||=> 0.19|
|2019-01-16 13:19||Kunda1||Relationship added||related to 0003774|
|2019-01-16 13:21||Kunda1||Description Updated||View Revisions|
|2019-01-16 13:53||wmayer||Status||new => closed|
|2019-01-16 13:53||wmayer||Resolution||open => fixed|
|2019-01-16 13:53||wmayer||Fixed in Version||=> 0.19|
|2019-01-16 13:53||wmayer||Note Added: 0012438|
|2019-01-16 16:33||Kunda1||Note Edited: 0012438||View Revisions|
|2019-01-16 16:36||Kunda1||Relationship replaced||duplicate of 0003774|