[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Error when trying to build 5.8.2 from source
From:       Dave Deters <ddeters () rocklandflooring ! com>
Date:       2017-06-23 17:19:07
Message-ID: DM3PR14MB0720FE4CDA0B88393C397358CAD80 () DM3PR14MB0720 ! namprd14 ! prod ! outlook ! com
[Download RAW message or body]


-----Original Message-----
From: Phil Thompson [mailto:phil@riverbankcomputing.com] 
Sent: Friday, June 23, 2017 11:09 AM
To: Dave Deters <ddeters@rocklandflooring.com>
Cc: pyqt@riverbankcomputing.com
Subject: Re: [PyQt] Error when trying to build 5.8.2 from source

On 23 Jun 2017, at 4:52 pm, Dave Deters <ddeters@rocklandflooring.com> wrote:
> 
> Hello,
> I am trying to build PyQt 5.8.2 from source on Ubuntu 16.04
> 
> Configure.py runs without error, but when I run make I get the following errors:
> 
> make[1]: Leaving directory \
> '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtMultimediaWidgets' cd QtNetwork/ && ( test \
>                 -e Makefile || /usr/local/Qt-5.9.0/bin/qmake 
> -o Makefile /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/QtNetw
> ork.pro ) && make -f Makefile
> make[1]: Entering directory '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork'
> g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT 
> g++ -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTI
> ONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. 
> -isystem /usr/include/python3.5m -I/usr/local/Qt-5.9.0/include -I 
> /usr/local/Qt-5.9.0/include/QtNetwork 
> -I/usr/local/Qt-5.9.0/include/QtCore -I. 
> -I/usr/local/Qt-5.9.0/mkspecs/linux-g++ -o sipQtNetwork 
> QNetworkRequest.o sipQtNetworkQNetworkRequest.cpp
> /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkReq
> uest.cpp: In function ‘PyObject* meth_QNetworkRequest_sslConfigu \
>                 ration(PyObject*, PyObject*)':
> /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkReq
> uest.cpp:362:55: error: ‘const class QNetworkRequest' has no mem ber named \
> ‘sslConfiguration' sipRes = new  ::QSslConfiguration(sipCpp->sslConfiguration());
> ^
> /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkReq
> uest.cpp:362:73: error: invalid use of incomplete type ‘class QS slConfiguration'
> sipRes = new  ::QSslConfiguration(sipCpp->sslConfiguration());
> 
> ^ In file included from \
>                 /home/dave/Downloads/PyQt5_gpl-5.8.2/sip/QtNetwork/qnetworkrequest.sip:26:0:
>                 
> /usr/local/Qt-5.9.0/include/QtNetwork/qnetworkrequest.h:51:7: note: forward \
> declaration of ‘class QSslConfiguration' class QSslConfiguration;
> ^
> /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkReq
> uest.cpp: In function ‘PyObject* meth_QNetworkRequest_setSslConf \
>                 iguration(PyObject*, PyObject*)':
> /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkReq
> uest.cpp:388:21: error: ‘class QNetworkRequest' has no member na med \
> ‘setSslConfiguration' sipCpp->setSslConfiguration(*a0);
> ^
> Makefile:971: recipe for target 'sipQtNetworkQNetworkRequest.o' failed
> make[1]: *** [sipQtNetworkQNetworkRequest.o] Error 1
> make[1]: Leaving directory '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork'
> Makefile:295: recipe for target 'sub-QtNetwork-make_first-ordered' 
> failed
> make: *** [sub-QtNetwork-make_first-ordered] Error 2
> 
> 
> I do not have a lot of experience developing on Linux and could use some help. I've \
> searched the errors I am getting in the hope that someone had posted a solution, \
> but I didn't have any luck. 
> I'm using Qt 5.9.0 which I have built from source.

...so you need to use the current PyQt snapshot (or compile Qt with SSL support).

Phil

So I download the development snapshot and tried to build it. I'm getting multiple \
errors which I have included below:

/usr/local/Qt-5.9.0/include/QtNetwork -I/usr/local/Qt-5.9.0/include/QtCore -I. \
-I/usr/local/Qt-5.9.0/mkspecs/linux-g++ -o sipQtNetwork QList0100QNetworkInterface.o \
sipQtNetworkQList0100QNetworkInterface.cpp g++ -c -pipe -O2 -std=gnu++11 \
-fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC \
-Dprotected=public -DQT_NO_EXCEPTI ONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB \
-DQT_CORE_LIB -I. -I. -isystem /usr/include/python3.5m -I/usr/local/Qt-5.9.0/include \
                -I
/usr/local/Qt-5.9.0/include/QtNetwork -I/usr/local/Qt-5.9.0/include/QtCore -I. \
-I/usr/local/Qt-5.9.0/mkspecs/linux-g++ -o sipQtNetwork QList0100QNetworkProxy.o \
sipQtNetworkQList0100QNetworkProxy.cpp g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions \
-Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public \
-DQT_NO_EXCEPTI ONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. \
                -isystem /usr/include/python3.5m -I/usr/local/Qt-5.9.0/include -I
/usr/local/Qt-5.9.0/include/QtNetwork -I/usr/local/Qt-5.9.0/include/QtCore -I. \
-I/usr/local/Qt-5.9.0/mkspecs/linux-g++ -o sipQtNetwork QList0100QSslCertificate.o \
                sipQtNetworkQList0100QSslCertificate.cpp
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘void assign_QList_01 00QSslCertificate(void*, Py_ssize_t, const \
                void*)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:29: \
error: ‘::QSslCertificate'  has not been declared
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:29: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:46: \
error: template argument 1  is invalid
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:48: \
error: expected ‘>' before  ‘*' token
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:48: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:49: \
error: expected primary-exp ression before ‘>' token
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:68: \
warning: pointer of type ‘v oid *' used in arithmetic [-Wpointer-arith]
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
*reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:68: \
error: ‘void*' is not a poi nter-to-object type
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:103: \
error: ‘::QSslCertificate'  has not been declared
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
                *reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:103: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:120: \
error: template argument 1  is invalid
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
                *reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:122: \
error: expected ‘>' before  ‘*' token
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
                *reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:122: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:123: \
error: expected primary-ex pression before ‘>' token
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
                *reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:132: \
error: expected ‘)' before  ‘;' token
     reinterpret_cast<QList< ::QSslCertificate> *>(sipDst)[sipDstIdx] = \
                *reinterpret_cast<const QList< ::QSslCertificate> *>(sipSrc);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:38:132: \
error: expected ‘)' before  ‘;' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘void* array_QList_01 00QSslCertificate(Py_ssize_t)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:45:23: \
error: ‘::QSslCertificate'  has not been declared
     return new QList< ::QSslCertificate>[sipNrElem];
                       ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:45:23: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:45:40: \
error: template argument 1  is invalid
     return new QList< ::QSslCertificate>[sipNrElem];
                                        ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:45:41: \
error: expected ‘;' before  ‘[' token
     return new QList< ::QSslCertificate>[sipNrElem];
                                         ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
                In lambda function:
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:45:52: \
error: expected ‘{' before  ‘;' token
     return new QList< ::QSslCertificate>[sipNrElem];
                                                    ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘void* copy_QList_010 0QSslCertificate(const void*, Py_ssize_t)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:23: \
error: ‘::QSslCertificate'  has not been declared
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
::QSslCertificate> *>(sipSrc)[sipSrcIdx]);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:23: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:40: \
error: template argument 1  is invalid
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
::QSslCertificate> *>(sipSrc)[sipSrcIdx]);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:72: \
error: ‘::QSslCertificate'  has not been declared
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
::QSslCertificate> *>(sipSrc)[sipSrcIdx]);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:72: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:89: \
error: template argument 1  is invalid
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
                ::QSslCertificate> *>(sipSrc)[sipSrcIdx]);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:91: \
error: expected ‘>' before  ‘*' token
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
                ::QSslCertificate> *>(sipSrc)[sipSrcIdx]);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:91: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:92: \
error: expected primary-exp ression before ‘>' token
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
                ::QSslCertificate> *>(sipSrc)[sipSrcIdx]);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:111: \
warning: pointer of type ‘ void *' used in arithmetic [-Wpointer-arith]
     return new QList< ::QSslCertificate>(reinterpret_cast<const QList< \
                ::QSslCertificate> *>(sipSrc)[sipSrcIdx]);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:52:111: \
error: ‘const void*' is no t a pointer-to-object type
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘void release_QList_0 100QSslCertificate(void*, int)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:36: \
error: ‘::QSslCertificate'  has not been declared
     delete reinterpret_cast<QList< ::QSslCertificate> *>(ptr);
                                    ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:36: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:53: \
error: template argument 1  is invalid
     delete reinterpret_cast<QList< ::QSslCertificate> *>(ptr);
                                                     ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:55: \
error: expected ‘>' before  ‘*' token
     delete reinterpret_cast<QList< ::QSslCertificate> *>(ptr);
                                                       ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:55: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:56: \
error: expected primary-exp ression before ‘>' token
     delete reinterpret_cast<QList< ::QSslCertificate> *>(ptr);
                                                        ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:60:62: \
error: expected ‘)' before  ‘;' token
     delete reinterpret_cast<QList< ::QSslCertificate> *>(ptr);
                                                              ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘int convertTo_QList_ 0100QSslCertificate(PyObject*, void**, int*, \
                PyObject*)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:12: \
error: ‘::QSslCertificate'  has not been declared
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
::QSslCertificate> **>(sipCppPtrV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:12: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:29: \
error: template argument 1  is invalid
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
::QSslCertificate> **>(sipCppPtrV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:69: \
error: ‘::QSslCertificate'  has not been declared
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
::QSslCertificate> **>(sipCppPtrV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:69: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:86: \
error: template argument 1  is invalid
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
                ::QSslCertificate> **>(sipCppPtrV);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:88: \
error: expected ‘>' before  ‘*' token
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
                ::QSslCertificate> **>(sipCppPtrV);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:88: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:90: \
error: expected primary-exp ression before ‘>' token
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
                ::QSslCertificate> **>(sipCppPtrV);
                                                                                      \
                ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:68:103: \
error: expected ‘)' before  ‘;' token
     QList< ::QSslCertificate> **sipCppPtr = reinterpret_cast<QList< \
                ::QSslCertificate> **>(sipCppPtrV);
                                                                                      \
^ sip/QtCore/qpycore_qlist.sip:88:11: error: ‘QSslCertificate' was not declared in \
this scope sip/QtCore/qpycore_qlist.sip:88:26: error: template argument 1 is invalid
sip/QtCore/qpycore_qlist.sip:88:44: error: the value of ‘QSslCertificate' is not \
usable in a constant expression sip/QtCore/qpycore_qlist.sip:88:11: note: \
‘QSslCertificate' was not declared ‘constexpr' \
sip/QtCore/qpycore_qlist.sip:88:59: error: type/value mismatch at argument 1 in \
template parameter list for ‘template<class T> class Q List'
sip/QtCore/qpycore_qlist.sip:88:59: note:   expected a type, got ‘QSslCertificate'
sip/QtCore/qpycore_qlist.sip:110:26: error: ‘t' was not declared in this scope
sip/QtCore/qpycore_qlist.sip:110:47: error: ‘QSslCertificate' does not name a type
sip/QtCore/qpycore_qlist.sip:110:63: error: expected ‘>' before ‘*' token
sip/QtCore/qpycore_qlist.sip:110:63: error: expected ‘(' before ‘*' token
sip/QtCore/qpycore_qlist.sip:110:64: error: expected primary-expression before ‘>' \
token sip/QtCore/qpycore_qlist.sip:112:57: error: expected ‘)' before ‘;' token
sip/QtCore/qpycore_qlist.sip:127:13: error: request for member ‘append' in ‘* \
                ql', which is of non-class type ‘int'
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp: \
In function ‘PyObject* convertFro m_QList_0100QSslCertificate(void*, PyObject*)':
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:11: \
error: ‘::QSslCertificate'  has not been declared
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
*>(sipCppV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:11: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:28: \
error: template argument 1  is invalid
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
*>(sipCppV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:64: \
error: ‘::QSslCertificate'  has not been declared
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
*>(sipCppV);  ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:64: \
error: ‘::QSslCertificate'  has not been declared
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:81: \
error: template argument 1  is invalid
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
                *>(sipCppV);
                                                                                 ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:83: \
error: expected ‘>' before  ‘*' token
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
                *>(sipCppV);
                                                                                   ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:83: \
error: expected ‘(' before  ‘*' token
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:84: \
error: expected primary-ex pression before ‘>' token
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
                *>(sipCppV);
                                                                                    ^
/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork/sipQtNetworkQList0100QSslCertificate.cpp:148:94: \
error: expected ‘)' before  ‘;' token
    QList< ::QSslCertificate> *sipCpp = reinterpret_cast<QList< ::QSslCertificate> \
                *>(sipCppV);
                                                                                      \
^ sip/QtCore/qpycore_qlist.sip:42:38: error: request for member ‘size' in ‘* \
sipCpp', which is of non-class type ‘int' sip/QtCore/qpycore_qlist.sip:47:33: \
error: request for member ‘size' in ‘* sipCpp', which is of non-class type \
‘int' sip/QtCore/qpycore_qlist.sip:49:9: error: ‘QSslCertificate' was not \
declared in this scope sip/QtCore/qpycore_qlist.sip:49:26: error: ‘t' was not \
declared in this scope sip/QtCore/qpycore_qlist.sip:49:34: error: expected \
type-specifier before ‘QSslCertificate' sip/QtCore/qpycore_qlist.sip:55:20: error: \
type ‘<type error>' argument given to ‘delete', expected pointer Makefile:2982: \
recipe for target 'sipQtNetworkQList0100QSslCertificate.o' failed make[1]: *** \
[sipQtNetworkQList0100QSslCertificate.o] Error 1 make[1]: Leaving directory \
'/home/dave/Downloads/PyQt5_gpl-5.9.dev1706151807/QtNetwork' Makefile:295: recipe for \
                target 'sub-QtNetwork-make_first-ordered' failed
make: *** [sub-QtNetwork-make_first-ordered] Error 2

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic