I read your description from Roman (http://opencascade.blogspot.com/2008/12/adding-colors-and-names-to-your_...) and tried it by my self. But I have a problem, that is already disused in the OCC forum. But I don't understand how I should solve it. I work with Linux and I get the error "could not find the resource:a148e300-5740-11d1-a904-080036aaa103.Location" from this Line:
Handle(TDocStd_Application) anApp = XDEApp::GetApplication();
I read a method in this thread: http://www.opencascade.org/org/forum/thread_15610/
But I don't understand what this means. I have no one of this env vars. I work with qt creator and set the lib-search-path by my self. Furthermore, in the thread they are talking about paths to the plug-ins. But I have no idea what does it means.
Thank and regards,