I'm trying to make a binding for a trivial test class:
#include <QGLWidget>
class Math : public QGLWidget
{
Q_OBJECT
public:
Math() {}
virtual ~Math() {}
int squared(int x);
signals:
void aSignal(QPoint, QSize);
};
I have a typesystem file for the binding:
<?xml version="1.0"?>
<typesystem package="foo">
<load-typesystem name="typesystem_core.xml" generate="no"/>
<load-typesystem name="typesystem_opengl.xml" generate="no"/>
<object-type name="Math"/>
</typesystem>
When I run this through shiboken I get the following
WARNING :: signal 'aSignal' in non-QObject class 'Math'
WARNING :: unknown baseclass for 'Math': 'QGLWidget'
WARNING :: type 'QFontDialog' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
.... lots more of the last warning...
Does someone have a working example of a trivial binding using shiboken
I could look at?
Thanks,
Josh
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside