thliebig / QCSXCAD

QCSXCAD - Qt-GUI for CSXCAD
http://openEMS.de
GNU Lesser General Public License v3.0
4 stars 13 forks source link

RenderingFreeTypeOpenGL was dropped from VTK 6.3 #2

Closed rdmitry closed 8 years ago

rdmitry commented 8 years ago

QCSXCAD uses RenderingFreeTypeOpenGL, but

Note that the deprecated RenderingFreeTypeOpenGL module has been removed, as the functionality of this module has been replaced by the vtkTextRenderer and vtkTextMapper classes.

See http://www.kitware.com/blog/home/post/963

thliebig commented 8 years ago

Thanks for the info. I'm just not yet sure what this means. Do I have to change some code or just which libraries QCSXCAD links? I will have a closer look.

rdmitry commented 8 years ago

Unfortunately I can't provide any details now. I'm not specialist in VTK, just working on rpm packages for openSUSE.

rdmitry commented 8 years ago

You don't use RenderingFreeTypeOpenGL in the code. Looks like this line was from http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines, so we can simply remove vtkRenderingFreeTypeOpenGL.

thliebig commented 8 years ago

Thanks for the patch, I totally forgot about this issue. Do you use Qt5 and vtk6 on Linux? I still have issues with this combination. Somehow qt5 does not properly handle the vtk events.

rdmitry commented 8 years ago

Yes, I'm using Qt5 and VTK-6.3 on openSUSE. But looks like we have problems with VTK build config, so I need to fix it first.

thliebig commented 8 years ago

Let me know if you get it working. I was able to build using qt5 and vtk6.x in the past. But trying to move or rotate something in AppCSXCAD was laggy due to some bug in qt5 handling x11 events (see http://markmail.org/message/l76z3mppijvpy6sn). It is supposed to be fixed in qt5.6 but I have not tried it.

thliebig commented 8 years ago

I have made some changes to the build system and build successfully on openSUSE. Please test the latest version.

rdmitry commented 8 years ago

Thanks, build problems are solved.