I have compiled this sample and it could work now.The problem is ,all the shapes' color was Quantity_Color(1.0, 0.73, 0.2, Quantity_TOC_RGB),which set by aShapePrs in your code after I imported an iges file.
I tried the IGESCAFControl_Reader like this:
IGESCAFControl_Reader Reader;//(XSDRAW::Session(), Standard_False);no libTKXSDRAW.so in the ARM's compiled result.
Standard_Integer status = Reader.ReadFile(strFile.c_str());
if (status != IFSelect_RetDone)
Handle(TDocStd_Document) aDoc;//how to initialize this document in the Qt's android platform?
Standard_Boolean ok = Reader.Transfer(aDoc);
if(ok == Standard_False)
aShape = Reader.OneShape();
Then it crashed in the method "Transfer(aDoc)".
So,what's the problem? Is it related to those questions I asked in the notes? How to display the elements' color in this sample?
Need your help very badly. Thanks very much!