[PyQt] PyQt5.4 config.py and WebEngineWidgets?
phil at riverbankcomputing.com
Mon Feb 16 09:49:50 GMT 2015
On 16/02/2015 5:06 am, David Cortesi wrote:
> The app I'm trying to deploy uses QWebEngineView, ergo I've clicked
> QtWebEngineWidgets as a needed PyQt module.
> The make fails with "ld: library not found for -lQtWebEngineWidgets"
> and this is correct, no such lib is found under $SYSROOT. There does
> PyQt-gpl-5.4/sip/QtWebEngineWidgets, however the config.py output
> mention it at all even with --verbose on; and of course the make
> make it.
> Looking at config.py, it seems to hinge on target_config.The file
> pyqt5-osx.cfg (made by pyqtdeploycli?) does mention QtWebChannel but
> So I added the name QtWebEngineWidgets to the pyqt5-osx.cfg file and
> config, qmake, make, make install. And there is now
> under $SYSROOT and the make succeeded.
The configuration files generated by pyqtdeploycli should be considered
starting points which you should review and possibly update to meet your
specific needs. The reason why those modules are not enabled by default
is that they are not available on all platforms supported by Python.
More information about the PyQt