buid PyQtWebengine from source

Yi tiger yitiger at hotmail.com
Fri Jan 19 06:22:05 GMT 2024


DA,

I'm trying to build PyQtWebEngine from source, but got follow errors. QT already complied with openssl support.

home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:28: error: ‘QSslCertificate’ was not declared in this scope
   35 |     reinterpret_cast<QList<QSslCertificate> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> *>(sipSrc);
      |                            ^~~~~~~~~~~~~~~
/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:43: error: template argument 1 is invalid
   35 |     reinterpret_cast<QList<QSslCertificate> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> *>(sipSrc);
      |                                           ^
/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:45: error: expected ‘>’ before ‘*’ token
   35 |     reinterpret_cast<QList<QSslCertificate> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> *>(sipSrc);
      |                                             ^
/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:45: error: expected ‘(’ before ‘*’ token
   35 |     reinterpret_cast<QList<QSslCertificate> *>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> *>(sipSrc);
      |                                             ^
      |                                             (
/home/tyi/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:46: error: expected primary-expression before ‘>’ token

I googled but not find any usefully information, can anyone has clue?

below is configure output

$PY3_BIN configure.py --qmake /home/xx/lib/bin/qmake
Configuring PyQtWebEngine 5.15.6...
The PyQtWebEngine .sip files will be installed in
/home/xx/python3/share/sip/PyQt5.
PyQtWebEngine will be installed in
/home/xx/python3/lib/python3.8/site-packages/PyQt5.
PyQt 5.15.6 is being used.
Qt 5.15.6 is being used.
sip 4.19.25 is being used.
The sip executable is /home/xx/python3/bin/sip.
PyQtWebEngine is being built with 'protected' redefined as 'public'.
The PEP 484 stubs will be installed in
/home/xx/python3/lib/python3.8/site-packages/PyQt5.
The QScintilla API file will be installed in
/home/xx/lib/qsci/api/python.
Generating the C++ source for the QtWebEngine module...
Generating the .pro file for the QtWebEngine module...
Generating the C++ source for the QtWebEngineCore module...
Generating the .pro file for the QtWebEngineCore module...
Generating the C++ source for the QtWebEngineWidgets module...
Generating the .pro file for the QtWebEngineWidgets module...
Generating the QScintilla API file...
Generating the top-level .pro file...
Generating the Makefiles...

Thanks in advance,

Tiger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240119/3b0c229b/attachment.htm>


More information about the PyQt mailing list