Hi all,

I'm trying to build a binding for my Qt C++ widget using shiboken.

Here's my shiboken command:
shiboken ../data/global.h \
--include-paths=../../VideoPlayerWidget:-I/home/josh/videoWidget/targetfs-base/include/QtCore:-I/home/josh/videoWidget/targetfs-base/include:/usr/include
--typesystem-paths=../data:/home/josh/videoWidget/targetfs-base/bindings
--output-directory=.. ../data/typesystem_VideoPlayerWidget.xml


Make fails with  the error:
make: *** No rule to make target `VideoPlayerWidget_globals_wrapper.cpp', needed by `compile'. Stop.

Indeed, there is no "VideoPlayerWidget_globals_wrapper.cpp". Is shiboken supposed to generate one?

Then, I noticed that it did generate "videoplayerwidget_module_wrapper.cpp" and "videoplayerwidget_python.h". However, these names are formatted incorrectly. In the Makefile the values are camel-capped, ie. they should be:
   "VideoPlayerWidget_globals_wrapper.cpp"
   "VideoPlayerWidget_module_wrapper.cpp"
   "VideoPlayerWidget_wrapper.cpp"

So, is shiboken doing something wrong or have I screwed something up?


The full shiboken output ends with:
...
... ( hundreds of similar warnings snipped out for brevity)
WARNING :: type 'QFrame' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QCDEStyle' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QGraphicsColorizeEffect' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QIconEngine' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QGraphicsScene' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QItemEditorFactory' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QAbstractPageSetupDialog' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QLCDNumber' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QXmlStreamEntityDeclaration' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QActionGroup' is specified in typesystem, but not defined. This could potentially lead to compilation errors. WARNING :: type 'QTextCodec::ConverterState' is specified in typesystem, but not defined. This could potentially lead to compilation errors. [-] (1094/1094) Detecting inconsistencies in typesystem for QTextCodec::ConverterState
Done, 485 warnings (1 known issues)
make: *** No rule to make target `AwareVideoPlayerWidget_module_wrapper.cpp', needed by `compile'. Stop.



Any ideas?

Thanks,

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

Reply via email to