Hi, If you don't have those files, it generally means that Shiboken couldn't find the definition of your Math class. You probably have some errors or warnings when launching your command line, it could be useful to report them. If you have something like "class 'Math' is specified in typesystem but not defined", make sure that the header of your original Math class is in the include path and that your global.h includes it.
Also, you will find in the output directory some log files that can help you understand why Shiboken fails generating a wrapper for your call. Don't hesitate to send a zipped version of your project if you can't make it work. Regards, Yann 2012/9/3 ZHONG Zhu <[email protected]> > Hi All, > > Iām trying to follow the Shiboken tutorial at * > http://qt-project.org/wiki/Category:LanguageBindings::PySide::Shiboken::PySide_Binding_Generation_Tutorial > *<http://qt-project.org/wiki/Category:LanguageBindings::PySide::Shiboken::PySide_Binding_Generation_Tutorial>to > build the foo project on Windows XP. My understanding is that after I > called > ā > generatorrunner --generatorSet=shiboken global.h > --include-paths="D:\workspace\Shiboken\binding-tutorial\libfoo;D:\Qt\4.8.1\include\Qt;D:/Qt/4.8.1/include/QtCore;D:/Qt/4.8.1/include/QtGui;D:\workspace\Shiboken\pyside-pyside-archive\PySide\QtCore" > --typesystem-paths=".;D:/workspace/Shiboken/pyside-pyside-archive/PySide;D:/workspace/Shiboken/pyside-pyside-archive/PySide/QtCore" > --output-directory=. typesystem_foo.xml > ā > I should have 4 files like below > foo/foo_python.h > foo/foo_module_wrapper.cpp > foo/math_wrapper.h > foo/math_wrapper.cpp > > but actually, only 2 files got generated. Anyone has any idea? Thanks in > advance! > foo/foo_python.h > foo/foo_module_wrapper.cpp > > BR, > > Zhu > > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/pyside > >
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
