PyQt5 QtWebEngine字体错误

时间:2016-11-10 04:28:13

标签: pyqt5 qtwebengine

我尝试使用PyQt 5来显示一些本地网站,但程序失败了。 这是日志信息:

[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
2016-11-09 22:23:01.126 QtWebEngineProcess[48297:7328996] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated.}
2016-11-09 22:23:01.126 QtWebEngineProcess[48297:7328996] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
2016-11-09 22:23:01.126 QtWebEngineProcess[48297:7328996] XType: unable to make a connection to the font daemon!
2016-11-09 22:23:01.126 QtWebEngineProcess[48297:7328996] registering /System/Library/Fonts/*, /System/Library/Fonts/Base/*, and /Library/Fonts/* locally

我想也许这是因为我在Mac上使用它,而且我不知道解决这个问题,你能给我一些关于如何解决这个字体问题的建议吗?感谢

0 个答案:

没有答案