Bug 211517 - [WPE][Qt] Enable by default
Summary: [WPE][Qt] Enable by default
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 08:56 PDT by Philippe Normand
Modified: 2020-05-07 01:40 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.63 KB, patch)
2020-05-06 08:59 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
Patch (2.76 KB, patch)
2020-05-06 09:27 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff
Patch (2.78 KB, patch)
2020-05-06 09:29 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-05-06 08:56:17 PDT
Now that the EWS and bots use the Flatpak SDK, Qt5 libs are available.
Comment 1 Philippe Normand 2020-05-06 08:59:07 PDT
Created attachment 398623 [details]
Patch
Comment 2 Adrian Perez 2020-05-06 09:21:09 PDT
Comment on attachment 398623 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=398623&action=review

> Source/cmake/OptionsWPE.cmake:84
> +WEBKIT_OPTION_DEFINE(ENABLE_WPE_QT_API "Whether to enable support for the Qt5/QML plugin" PUBLIC ON)

I would imagine most packagers are not building the Qt API, so enabling it
by default will break their build scripts. How about making this depend on
${ENABLE_DEVELOPER_MODE} or ${ENABLE_EXPERIMENTAL_FEATURES}?
Comment 3 Philippe Normand 2020-05-06 09:27:29 PDT
Created attachment 398626 [details]
Patch
Comment 4 Philippe Normand 2020-05-06 09:28:00 PDT
(In reply to Adrian Perez from comment #2)
> Comment on attachment 398623 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=398623&action=review
> 
> > Source/cmake/OptionsWPE.cmake:84
> > +WEBKIT_OPTION_DEFINE(ENABLE_WPE_QT_API "Whether to enable support for the Qt5/QML plugin" PUBLIC ON)
> 
> I would imagine most packagers are not building the Qt API, so enabling it
> by default will break their build scripts. How about making this depend on
> ${ENABLE_DEVELOPER_MODE} or ${ENABLE_EXPERIMENTAL_FEATURES}?

SGTM :)
Comment 5 Philippe Normand 2020-05-06 09:29:23 PDT
Created attachment 398627 [details]
Patch
Comment 6 EWS 2020-05-07 01:40:05 PDT
Committed r261275: <https://trac.webkit.org/changeset/261275>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 398627 [details].