[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: buid PyQtWebengine from source
From: Yi tiger <yitiger () hotmail ! com>
Date: 2024-01-19 6:22:05
Message-ID: TYWP286MB2857108F3D78866B12C3AA67B2702 () TYWP286MB2857 ! JPNP286 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]
[Attachment #2 (text/plain)]
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
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> DA,</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> I'm trying to build PyQtWebEngine from \
source, but got follow errors. QT already complied with openssl support.</div> <div \
class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: \
12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, \
0);">home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:28: \
error: ¡®QSslCertificate¡¯ was not declared in this scope</span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> 35 | \
reinterpret_cast<QList<QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<QList<QSslCertificate> *>(sipSrc);</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> | \
\
^~~~~~~~~~~~~~~</span></div> <div><span style="font-family: Calibri, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:43: \
error: template argument 1 is invalid</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> \
35 | reinterpret_cast<QList<QSslCertificate> \
*>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> \
*>(sipSrc);</span></div> <div><span style="font-family: Calibri, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> | \
\
^</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:45: \
error: expected ¡®>¡¯ before ¡®*¡¯ token</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);"> 35 | reinterpret_cast<QList<QSslCertificate> \
*>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> \
*>(sipSrc);</span></div> <div><span style="font-family: Calibri, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> | \
\
^</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);">/home/xx/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:45: \
error: expected ¡®(¡¯ before ¡®*¡¯ token</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> \
35 | reinterpret_cast<QList<QSslCertificate> \
*>(sipDst)[sipDstIdx] = *reinterpret_cast<QList<QSslCertificate> \
*>(sipSrc);</span></div> <div><span style="font-family: Calibri, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> | \
\
^</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> | \
\
(</span></div> <div class="elementToProof"><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/tyi/Documents/PyQtWebEngine-5.15.6/QtWebEngineWidgets/sipQtWebEngineWidgetsQList0100QSslCertificate.cpp:35:46: \
error: expected primary-expression before ¡®>¡¯ token</span></div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> I googled but not find any usefully \
information, can anyone has clue?</div> <div class="elementToProof" \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);"> <br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> below is configure output</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">$PY3_BIN configure.py --qmake \
/home/xx/lib/bin/qmake</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Configuring \
PyQtWebEngine 5.15.6...</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">The PyQtWebEngine .sip \
files will be installed in</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/python3/share/sip/PyQt5.</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">PyQtWebEngine \
will be installed in</span></div> <div><span style="font-family: Calibri, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/python3/lib/python3.8/site-packages/PyQt5.</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">PyQt 5.15.6 is being used.</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Qt 5.15.6 is being \
used.</span></div> <div><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">sip 4.19.25 is being used.</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);">The sip executable is /home/xx/python3/bin/sip.</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);">PyQtWebEngine is being built with 'protected' redefined as \
'public'.</span></div> <div><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">The PEP 484 stubs will be installed \
in</span></div> <div><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/python3/lib/python3.8/site-packages/PyQt5.</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">The QScintilla API file will be installed in</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">/home/xx/lib/qsci/api/python.</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Generating the \
C++ source for the QtWebEngine module...</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Generating the \
.pro file for the QtWebEngine module...</span></div> <div><span style="font-family: \
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Generating the \
C++ source for the QtWebEngineCore module...</span></div> <div><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">Generating the .pro file for the QtWebEngineCore module...</span></div> \
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);">Generating the C++ source for the QtWebEngineWidgets \
module...</span></div> <div><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">Generating the .pro file for the \
QtWebEngineWidgets module...</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Generating the \
QScintilla API file...</span></div> <div><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Generating the \
top-level .pro file...</span></div> <div class="elementToProof"><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">Generating the Makefiles...</span></div> <div class="elementToProof"><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">Thanks in advance,</span></div> <div \
class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: \
12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div id="Signature">
<div><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);">Tiger </span></div>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic