Hi All,
I have just updated to 1.0.5 and now I'm confronted by these errors.
From what I have read in various posts this is a known issue, but the
suggested --avoid-protected-hack flag appears to have no effect.
Can anybody suggest a fix or work around?
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
In function 'PyTypeObject* Shiboken::SbkType() [with T =
QGraphicsItem::Extension]':
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qgraphicsitem.h:453:
error: 'enum QGraphicsItem::Extension' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:1328:
error: within this context
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
In function 'PyTypeObject* Shiboken::SbkType() [with T =
QAbstractSlider::SliderChange]':
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractslider.h:142:
error: 'enum QAbstractSlider::SliderChange' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:1471:
error: within this context
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
In function 'PyTypeObject* Shiboken::SbkType() [with T =
QAbstractItemView::CursorAction]':
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:277:
error: 'enum QAbstractItemView::CursorAction' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:1526:
error: within this context
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
In function 'PyTypeObject* Shiboken::SbkType() [with T =
QAbstractItemView::DropIndicatorPosition]':
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:348:
error: 'enum QAbstractItemView::DropIndicatorPosition' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:1527:
error: within this context
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
In function 'PyTypeObject* Shiboken::SbkType() [with T =
QAbstractItemView::State]':
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:303:
error: 'enum QAbstractItemView::State' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:1530:
error: within this context
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:
At global scope:
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qgraphicsitem.h:453:
error: 'enum QGraphicsItem::Extension' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:5515:
error: within this context
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractslider.h:142:
error: 'enum QAbstractSlider::SliderChange' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:6661:
error: within this context
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:277:
error: 'enum QAbstractItemView::CursorAction' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:7066:
error: within this context
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:348:
error: 'enum QAbstractItemView::DropIndicatorPosition' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:7071:
error: within this context
Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include/QtGui/qabstractitemview.h:303:
error: 'enum QAbstractItemView::State' is protected
Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include/PySide/QtGui/pyside_qtgui_python.h:7086:
error: within this context
Command Line:
generatorrunner
--avoid-protected-hack
--generatorSet=/workspace/Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/lib/generatorrunner/shiboken_generator.dylib
/workspace /Apps/Storm/src/Application/Python/global_core.h
--typesystem-paths=/workspace/Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/share/PySide/typesystems:/workspace/Apps/Storm/src/Application/Python
--output-directory=/workspace/Apps/Storm/src/Application/Python
--include-paths=/workspace/Thirdparty/PySide/1.0.5/bin/mac-64-x86-release-10.6/include:/workspace/Thirdparty/Qt/4.7.2/bin/mac-64-x86-release-10.6/include
/workspace/Apps/Storm/src/Application/Python/typesystem_storm_core.xml
Any help is much appreciated.
Regards,
Adam
--
Adam Cherbetji
Software Engineer
The Foundry, 6th Floor, The Communications Building, 48 Leicester Square,
London. WC2H 7LT
Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
Web:www.thefoundry.co.uk
Email:[email protected]
The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside