[PyQt] Can't build PyQtWebEngine without QtWebChannel

Florian Bruhin me at the-compiler.org
Sat Jul 20 12:00:07 BST 2019


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.

Florian

-- 
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190720/6455d8fe/attachment.sig>


More information about the PyQt mailing list