Re: Can't build PyQtWebEngine without QtWebChannel

Florian Bruhin <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On Sat, Jul 20, 2019 at 05:30:11PM +0100, Phil Thompson wrote:
> On 20/07/2019 12:00, Florian Bruhin wrote:
> > Hi,
> > 
> > It looks like QtWebEngine can be built without QtWebChannel because it
> > simply
> > has a "class QWebChannel;" forward-declaration.
> > 
> > However, building PyQtWebEngine fails:
> > 
> >     make[1]: Entering directory
> > '/home/florian/code/qt/pyqt_src/5.13/PyQtWebEngine_gpl-5.13.1.dev1907131806/QtWebEngineWidgets'
> >     g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
> > -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
> > -DQT_WEBENGINEWIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB
> > -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB
> > -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
> > -I../../../../venvs/5.13/include/python3.7m -isystem
> > /usr/include/python3.7m -I../../../../5.13/qtbase/include
> > -I../../../../5.13/qtbase/include/QtWebEngineWidgets
> > -I../../../../5.13/qtbase/include/QtWebEngineCore
> > -I../../../../5.13/qtbase/include/QtQuick
> > -I../../../../5.13/qtbase/include/QtPrintSupport
> > -I../../../../5.13/qtbase/include/QtWidgets
> > -I../../../../5.13/qtbase/include/QtGui
> > -I../../../../5.13/qtbase/include/QtQml
> > -I../../../../5.13/qtbase/include/QtNetwork
> > -I../../../../5.13/qtbase/include/QtCore -I. -isystem
> > /usr/include/libdrm -I../../../../5.13/qtbase/mkspecs/linux-g++ -o
> > sipQtWebEngineWidgetsQWebEnginePage.o
> > sipQtWebEngineWidgetsQWebEnginePage.cpp
> > 
> > /home/florian/code/qt/venvs/5.13/share/sip/PyQt5/QtWebChannel/qwebchannel.sip:28:10:
> > fatal error: qwebchannel.h: No such file or directory
> >        28 | #include <qwebchannel.h>
> >           |          ^~~~~~~~~~~~~~~
> >     compilation terminated.
> 
> Can you try tonight's PyQt5 and PyQtWebEngine snapshots?

Works fine now, thanks Phil!

Florian

-- 
https://www.qutebrowser.org | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl02smcACgkQkW6wyP1V
oHIWiRAAmxAr+ECIUnSWkHaLHNxDiD3i+GJ+olVTWOWuCb2z43MSAhBlNI1Bz6Rq
txPrbV+aSdRHWTIJVre84Y0nAfGNy/Cp28/E+Ag6o9ylIhwku54SmbvWXD4FTeAW
t6EclABGRVThrejD5r8zK2nqoRelIA/5fz9+icji6yEempXXMVnAA8hsBQsGTiHN
el9Aci8WZHOBjaNTC1wiwe4yAOclIJbgGpTtTLiYXEN/d92uJNo8sFoET/b7Pfmi
w9F4sUbCgTXXxDXPAI45Qsq3zTZHwTwp/2E/KW7VgFxMt6OM7OOczvFdjKBHOy9r
k6J4yLP3iZXI4qZnkvcHlVWO56PO6W1pOxOP7bDNuT9+YDANTJySj8GvNOqRbOLn
s8xEw3QQ0foxXjXqHAkeaTdE5vUocHBmw3/hJdF56RYTDctALjQNxj/AnTc67D1v
dEd5m6ShiPqF59bmq2H0WXmYVXBgJGqR/XHL/b3NSaYwm72m/WrUNKmC2xvtzXZo
5bMFmbIsJFiGCKbs82xNz5dmjr9GNnNQV0o9RH/0y6aHuBfi+LMzcHtdxich4/L6
+0dstvscn61G0OECeE8eQGpEzFfBu1dVzhv4eeQWp9D63vC/IGZS+zkPIjHhS15P
K7KhUQHcvVwAWd9fWHsQ5gnH+NBsD8AKi0rq5lQ3LjSkYI0jtt8=
=Dfed
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.