QT Designer fails to load libQVTKWidgetPlugin.so
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Platform:
Fedora Core 5 i386
QT X11 Commercial 4.1.4
Fresh VTK 5.0.x checkout
Problem:
When VTK is configured with BUILD_SHARED_LIBS set to OFF, libQVTKWidgetPlugin.so will NOT load in Designer. QT loads plugins with the system dlopen(const char*, int) system call. When followed by a char* dlopen() call, the following error is reported:
/pluginpath/libQVTKWidgetPlugin.so: undefined symbol: _ZN11vtkByteSwap7Swap4LEEPv
Workaround:
When VTK is configured with BUILD_SHARED_LIBS set to ON, libQVTKWidgetPlugin.so will load in Designer properly.