[PyQt] QSet build issues with current PyQt snapshot
Phil Thompson
phil at riverbankcomputing.com
Mon Dec 20 10:21:26 GMT 2010
On Mon, 20 Dec 2010 11:03:45 +0100, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> Hi Phil,
>
> all current PyQt snapshot builds fail with:
>
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fPIC -g -Wall -W -D_REENTRANT
> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_CORE_LIB -I.
>
-I/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/qpy/QtCore
>
> -I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/QtCore
> -I/usr/include -o sipQtCoreQSet0100QtDayOfWeek.o
> sipQtCoreQSet0100QtDayOfWeek.cpp
The fix is to add...
#include <qset.h>
...to the %TypeHeaderCode of the two implementations of the mapped type in
qnamespace.sip.
Phil
More information about the PyQt
mailing list