Skip to content

Permit building against system wxWidgets built without WebView support - #2900

Open
spillner wants to merge 1 commit into
wxWidgets:masterfrom
spillner:master
Open

Permit building against system wxWidgets built without WebView support#2900
spillner wants to merge 1 commit into
wxWidgets:masterfrom
spillner:master

Conversation

@spillner

Copy link
Copy Markdown

Addresses #2825. etg/webview.py and the sip/gen/webview.sip that it generates both go to a lot of trouble to provide dummy stubs for the WebView API, but the generated headers still assume that <wx/webview*.h> are present, which won't be the case if wxWidgets was indeed built without WebView support.

Since WebView depends on WebKit, which has large number of known and suspected security issues and no longer receives maintenance updates, requiring WebKit support in wxWidgets in order to build wxPython unnecessarily increases the attack surface of the host system.

The optional_wx_modules = [...] definition in etgtools/sip_generator.py can be expanded to allow wxPython to be built on systems without other nonessential wxWidgets modules, if desired.

…t (i.e. do not assume WebView headers are installed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant