[PySide] Problems building pyside 1.2.1 on AIX (shiboken problem)
John Ehresman
jpe at wingware.com
Thu Apr 17 17:22:37 CEST 2014
On 4/16/14, 6:21 PM, Albert Chin wrote:
> I need to get shiboken to provide the same behavior on Linux as on
> AIX. While debugging this, it seems that the alias for "uint" doesn't
> map to "unsigned int" on AIX. In ApiExtractor/typesystem.cpp from
> shiboken:
> bool TypeEntry::isCppPrimitive() const
> {
> if (!isPrimitive())
> return false;
>
> PrimitiveTypeEntry* aliasedType = ((PrimitiveTypeEntry*)this)->basicAliasedTypeEntry();
> QByteArray typeName = (aliasedType ? aliasedType->name() : m_name).toAscii();
>
> On AIX, aliasedType is NULL while on Solaris, HP-UX, and Linux, it is
> not. I presume this means there is on alias from "uint" to "unsigned
> int". Where in the code should I be looking further?
I suspect this means the "typedef unsigned int uint" isn't being seen
when shiboken scans the header files during generation on AIX while it
is seen on the other platforms. I don't think the uint type is special
cased inside of shiboken.
Cheers,
John
More information about the PySide
mailing list