Here is the typesystem.xml:
<?xml version="1.0"?>
<typesystem package="qtmmlwidget">
<load-typesystem name="typesystem_core.xml" generate="no"/>
<load-typesystem name="typesystem_gui.xml" generate="no"/>
<load-typesystem name="typesystem_xml.xml" generate="no"/>
<object-type name="QtMmlWidget"/>
</typesystem>
And here is the output from the generator:
Generating class model... [OK]
Generating enum model... [WARNING]
enum 'PM_MessageBoxHeight' does not have a type entry or is not an enum
Generating namespace model... [OK]
Resolving typedefs... [OK]
Fixing class inheritance... [OK]
Detecting inconsistencies in class model... [OK]
Detecting inconsistencies in typesystem... [WARNING]
type 'QtMmlWidget' is specified in typesystem, but not defined. This could
potentially lead to compilation errors.
enum 'QMatrix4x4::enum_1' is specified in typesystem, but not declared
type 'QPyTextObject' is specified in typesystem, but not defined. This could
potentially lead to compilation errors.
type 'QX11EmbedContainer' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
type 'QX11EmbedWidget' is specified in typesystem, but not defined. This
could potentially lead to compilation errors.
Done, 6 warnings (926 known issues)
On 1 November 2010 20:55, Anderson Lizardo
<[email protected]>wrote:
> [hit send accidentally; also sorry for the lack of ponctuation,
> something weird with my keyboard...]
>
> On Mon, Nov 1, 2010 at 3:48 PM, Anderson Lizardo
> <[email protected]> wrote:
> > On Mon, Nov 1, 2010 at 3:00 PM, Stefan Krastanov
> > <[email protected]> wrote:
> >> Well the generated files are almost empty.
> >> The only .cpp files that is generated has the name
> "_module_wrapper.cpp".
> >> I suppose the problem is in typesystem.xml.
> >> The definition of the class that I want to wrap has some macros. Is
> >> it possible that they are causing the problem?
>
> not sure... i'm not familiar with how the generator works. renato can
> help here. the generated module wrapper file name looks strange, maybe
> its some problem on the typesystem of apiextractor parsing problems.
>
> could you post somewhere the typesystem xml, and the generator output
> messages, this should help debugging further.
>
> --
> Anderson Lizardo
> OpenBossa Labs - INdT
> Manaus - Brazil
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside