Hi,

I am trying to create bindings for qtmmlwidget from qt solutions. I have two
problems when running the generator:

- hundreds of "SomeType is specified in typesystem, but not defined. This
could potentially lead to compilation errors."
- "No C++ classes found!" as final output

Here is the command I use to run the generator:

QTCORE_INC=/usr/include/qt4:/usr/include/qt4/QtCore
QTGUI_INC=/usr/include/qt4:/usr/include/qt4/QtGui:/usr/include/qt4/QtCore
QTXML_INC=/usr/include/qt4:/usr/include/qt4/QtXml:/usr/include/qt4/QtCore
QTTYPESYSTEM=/usr/share/PySide/typesystems

generatorrunner --generatorSet=shiboken \
    ./data/global.h \
    --include-paths=../../src:$QTCORE_INC:$QTGUI_INC:$QTXML_INC:/usr/include
\
    --typesystem-paths=./data:$QTTYPESYSTEM \
    --output-directory=. \
    ./data/typesystem_qtmmlwidget.xml

And here is typesystem_qtmmlwidget.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>

Can someone help me find the errors in here.

Regards
Stefan
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to