File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ public void Preprocess(Driver driver, ASTContext lib)
7272 "QGraphicsProxyWidget" , "QGraphicsRectItem" , "QGraphicsSimpleTextItem" ,
7373 "QGraphicsTextItem" , "QGraphicsWidget"
7474 } ;
75+ // HACK: work around https://github.com/mono/CppSharp/issues/594
76+ lib . FindCompleteClass ( "QGraphicsItem" ) . FindEnum ( "Extension" ) . Access = AccessSpecifier . Public ;
77+ lib . FindCompleteClass ( "QAbstractSlider" ) . FindEnum ( "SliderChange" ) . Access = AccessSpecifier . Public ;
78+ lib . FindCompleteClass ( "QAbstractItemView" ) . FindEnum ( "CursorAction" ) . Access = AccessSpecifier . Public ;
79+ lib . FindCompleteClass ( "QAbstractItemView" ) . FindEnum ( "State" ) . Access = AccessSpecifier . Public ;
80+ lib . FindCompleteClass ( "QAbstractItemView" ) . FindEnum ( "DropIndicatorPosition" ) . Access = AccessSpecifier . Public ;
7581 break ;
7682 case "Svg" :
7783 classesWithTypeEnums = new [ ] { "QGraphicsSvgItem" } ;
You can’t perform that action at this time.
0 commit comments