X Tutup
Skip to content

Commit b893ea3

Browse files
committed
Add "A blank window on Mac/Linux" section to Knowledge Base doc.
1 parent 4985de0 commit b893ea3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/Knowledge-Base.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Table of contents:
55
* [Notifications about new releases / commits](#notifications-about-new-releases--commits)
66
* [Changes in API after CEF updates](#changes-in-api-after-cef-updates)
77
* [Differences between Python 2 and Python 3](#differences-between-python-2-and-python-3)
8+
* [A blank window on Mac/Linux](#a-blank-window-on-maclinux)
89
* [Location of CEF framework in Mac apps](#location-of-cef-framework-in-mac-apps)
910
* [Flash support](#flash-support)
1011
* [Feature X works in Google Chrome, but doesn't work in CEF Python](#feature-x-works-in-google-chrome-but-doesnt-work-in-cef-python)
@@ -88,6 +89,23 @@ they are all unicode strings. Be aware of this when porting cefpython
8889
based apps to Python 3, as it may cause issues.
8990

9091

92+
## A blank window on Mac/Linux
93+
94+
A blank window might appear when your Python does not support
95+
GUI applications and this seems to be the case when you're using
96+
a custom Python installation. On system Python everything should
97+
work just fine.
98+
99+
- On Mac it is required for Python to be build as a framework. See here:
100+
https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with-framework-support-on-os-x
101+
- On Linux it is required for Python to be build as a shared library. See here:
102+
https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared
103+
104+
For a more detailed explanation see this comment by Robin Dunn from the
105+
wxPython project:
106+
https://github.com/wxWidgets/Phoenix/issues/288#issuecomment-294896145
107+
108+
91109
## Location of CEF framework in Mac apps
92110

93111
This information here is for when creating apps for distribution

0 commit comments

Comments
 (0)
X Tutup