OpenCasCade6.8.0 and Qt4.7.4 smallest example to learn?

Hello,everyone:
I am using occ a few days ago.And I can run the qt Tutorial. But this example is big for me ( an newer to the OCC) to learn. And now, I just want to display the OCC models in the Qt Widget. Does some one can give me an example?
Note: OpenCasCade6.8.0 and Qt4.7.4, Ubuntu 12.04 LTS 64-bit, these tools I am using.
Thanks for your examples.

chen's picture

Hello,Everyone:
I have known how to program with qt and occ.And I will upload this smallest example in a few days.

chen's picture

Hello,everyone:
This file is about how to program occ with qt in Liunx.Hope that it will help someone who wants to do it in Liunx.

P G's picture

thanks for sharing