Requiring the WebKitWidgets Qt5 Module
ClosedPublic

Authored by narvaez on Oct 21 2017, 5:45 PM.

Diff Detail

Repository
R5 RKWard
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
narvaez created this revision.Oct 21 2017, 5:45 PM
Restricted Application added a subscriber: RKWard-Devel-list. · View Herald TranscriptOct 21 2017, 5:45 PM
tfry added a comment.Oct 21 2017, 7:37 PM

Could you add a Qt version check for this one? AFAIU, WebkitsWidgets is new in 5.9, so this would break builds with Qt < 5.9, right?

We're generally aiming for a good deal of backwards compatibility in RKWard, as a large share of our user base is on various long term releases.

In D8403#157953, @tfry wrote:

AFAIU, WebkitsWidgets is new in 5.9, so this would break builds with Qt < 5.9, right?

I'm using WebKitWidgets since various Qt 5.x versions in my projects. I suppose it is present since Qt 5. So the patch looks good to me.

tfry accepted this revision.Oct 22 2017, 5:15 AM

You are right, thanks. Webkitwidgets seems to be present since at least Qt 5.1, so that should not be a problem indeed.

This revision is now accepted and ready to land.Oct 22 2017, 5:15 AM
meikm added a subscriber: meikm.EditedOct 22 2017, 9:21 AM
In D8403#158063, @tfry wrote:

You are right, thanks. Webkitwidgets seems to be present since at least Qt 5.1, so that should not be a problem indeed.

i remember we struggled with building RKWard on macOS a few months ago because Qt5WebKitWidgets was missing. we then saw that Qt WebKit was completely removed from the official Qt installers >= 5.6. can this become problematic here?

tfry added a comment.Oct 22 2017, 10:07 AM

It is a problem, but not the showstopper, here. QtWebkit is still available as an "inoffcial" source only package, and fortunately it seems to have found some love, meanwhile (https://github.com/annulen/webkit). We may or may not still have to port away form it sooner or later, but for the time being we can continue to use it, at the cost of not being able to use the official Qt binaries.

This revision was automatically updated to reflect the committed changes.