[PyQt] Pyqtdeploy & latest Xcode

Phil Thompson phil at riverbankcomputing.com
Mon Apr 8 21:10:00 BST 2019


On 8 Apr 2019, at 11:13 pm, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Hello,
> 
> I am seeing the following compile errors in a pyqtdeploy-2.4/sip-4.19.13 project after upgrading to the latest Xcode:
> 
> 
> out/sip_cutilAppFilter.cpp:66:53: error: expected ';' at end of declaration list
>     int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
>                                                     ^
>                                                     ;
> out/sip_cutilAppFilter.cpp:67:36: error: expected ';' at end of declaration list
>     void *qt_metacast(const char *) SIP_OVERRIDE;
>                                    ^
>                                    ;
> out/sip_cutilAppFilter.cpp:68:42: error: expected ';' at end of declaration list
>     const QMetaObject *metaObject() const SIP_OVERRIDE;
> 
> out/sip_cutilAppFilter.cpp:93:72: error: use of undeclared identifier 'SIP_NULLPTR'
> sipAppFilter::sipAppFilter( ::QObject*a0):  ::AppFilter(a0), sipPySelf(SIP_NULLPTR)
>                                                                        ^
> out/sip_cutilAppFilter.cpp:133:69: error: use of undeclared identifier 'SIP_NULLPTR'
>     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_event);
>                                                                     ^
> out/sip_cutilAppFilter.cpp:148:69: error: use of undeclared identifier 'SIP_NULLPTR'
>     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_eventFilter);
> 
> Any ideas there? It’s as if a sip header is not being included or something.

Use the latest release of SIP.

Phil


More information about the PyQt mailing list