VTK plugin is not loaded in QtCreator.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

VTK plugin is not loaded in QtCreator.

Zoltan Kovacs
Hi all,

I have installed VTK 7.1.1 for Qt 5.8 in CentOS 7 with the configuation

~/bin/cmake -G Unix Makefiles -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON

Then the corresponding plugin library libQVTKWidgetPlugin.so was copied
into the plugin directory of QtCreator. However, the QVTKWidet won't
appear in the widget list when I open the UI editor window of QtCreator.
I obtained a libQVTKWidgetPlugin.so file from Trolltech Qt support
persons who also installed VTK 7.7.1 with the same comfiguration
options. I copied this file into plugin directory of Qtcreator and I
could see the QVTKWidger in the widget list of the UI editor window of

Then I checked the objects in both the plugin library files with objdump
and I found that the qt_pluginMetaData and qt_plugin_instance symbols
are missing from my libQVTKWidgetPlugin.so, whereas they can be found in
the plugin library file obtained from Trolltech. Both should be coming
through a file that is generated by moc. I have no idea why these
wouldn't be there. Has any one an idea what went wrong with the
compilation of VTK 7.1.1 in my desktop? Thank you very much!

Kind Regards,

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe: