[PyQt] setCornerWidget for QMenuBar & build Snapshots

Phil Thompson phil at riverbankcomputing.com
Sat Dec 10 12:03:25 GMT 2011


On Sat, 10 Dec 2011 13:38:56 +0200, admin at mbnoimi.net wrote:
> On 07/12/2011 01:33 م, Phil Thompson wrote: ...that's fairly self
> explanatory - seems you have a PyQt app running at the time. 
>  Thanks Phill,
> 
>  OH, my mistake I forgot to uninstall previous version. Any way I
> successfully built SIP but now I faced PyQt build issue as following
(you
> can see full build details through the attachments)
> 
> C:PyQt/sip/QtCore/qobject.sip: In function 'PyObject*
> meth_QTranslator_receivers(PyObject*, PyObject*)':
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected type-specifier before
> 'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected '>' before
'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected '(' before
'sipQObject'
> C:PyQt/sip/QtCore/qobject.sip:675: error: 'sipQObject' was not declared
in
> this scope
> C:PyQt/sip/QtCore/qobject.sip:675: error: expected primary-expression
> before '>' token
> mingw32-make[1]: *** [sipQtCoreQTranslator.o] Error 1
> mingw32-make: *** [all] Error 2

Probably still something hanging around from your previous installation. I
have retested this specific case in the last day or two without problems.

Phil


More information about the PyQt mailing list