[PyQt] Pyqtdeploy & latest Xcode

Patrick Stinson patrickkidd at gmail.com
Mon Apr 8 12:24:35 BST 2019


It looks like none of these macros are defined in the sip.h that pyqtdeploy-sysroot built for the macos-64 target.

Any idea what is going wrong here?

> On Apr 8, 2019, at 5:13 AM, 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.
> 
> -Patrick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190408/040ce2ad/attachment.html>


More information about the PyQt mailing list