Tue, 01/20/2015 - 23:05
Thanks in advance, and my apologies if this has been asked before. I'm very new to OpenCascade.
Is there support for Qt 5.x? Qt 4.8.6 is very old.
My main purpose for using OpenCascade is to read/write some very simple STEP and IGES files. Do I even need Qt for that? Perhaps I could just build the support libraries.
Wed, 01/21/2015 - 13:43
Qt 5.X is supported. Consult the Qt sample in your OCC installation.
I have attached a basic Qt5 OCC viewer.
Wed, 01/21/2015 - 20:23
It's great to hear there is Qt 5.X support. We use Qt 5.2.1. Thinking it wasn't supported was making me think the toolkit wasn't maintained very well. My apologies.
Thanks for the example. I'll check it out very soon.
I built the minimal libraries yesterday ... long build time lol.
Wed, 01/21/2015 - 23:21
How do you leverage Qt 5.X when Qt 4 and Qt 5 are so different?
The custom.bat file has flag for Qt4, but not for Qt5.
I could use CMake if that makes things easier than msvc.bat/custom.bat. I'm very familiar with CMake.
Thu, 01/22/2015 - 22:32
Your help is much appreciated. Once I understand how to integrate Qt 5.X support I'll be on my way.
How did you build Qt 5 support? I see no documentation for how to accomplish this. I'm currently leveraging Qt 5.2.1.
Would you lead me to documentation for how to specify the Qt 5 usage and paths. I see no flag in custom.bat for specify this. It does have a CHECK_QT4 flag. Should this (is this) flag a HAVE_QT flag (like HAVE_FREEIMAGE)?
Thu, 01/22/2015 - 22:59
I think I misunderstood what "Qt support" meant. I see the Viewer class in the samples directory, but I don't see a Qt viewer library as an OpenCascade build option. So, maybe by support it's meant compatible. I was reading into that some sort of Qt library for interfacing / displaying models. My apologies if on the wrong track. Doh!
Fri, 01/23/2015 - 00:47
That is correct OCC does not rely on Qt.
I'm not sure what CHECK_QT4 flag accomplishes, but I set it to true when building and everything works fine.
Fri, 01/23/2015 - 00:52
Thanks for the feedback, Daniel. It's much appreciated.
I'll provide support back to the forum as I come up to speed.
Fri, 01/23/2015 - 08:06
As you can see from the attached image, it's working quite well now.
I've got it to support IGES. Next I'll play with other formats (e.g. STEP, ACIS, Parasolid, and DXF ).