eryar / occQt

A simple OpenCASCADE Qt demo.
MIT License
280 stars 129 forks source link

Attempt to fix Linux compile problems. #4

Closed shrdluk closed 9 years ago

shrdluk commented 9 years ago

Thank you for occQt. I'm finding it very helpful as I try to understand OCC.

These modifications should allow the program to be built on Linux, Windows and Mac platforms, though I have only tested it on Linux (Mageia 4).

Since the Xw_Window call requires the Aspect_DisplayConnection, I have moved the code from occQt::InitializeModeler into OccView to keep things tidy.

I hope you will find this useful.

eryar commented 9 years ago

Hi shrdluk,

Thanks for your effort to compile occQt on Linux.

Best Regards, Shing Liu

shrdluk commented 9 years ago

Yes, I agree Q_UNUSED() would be better.