[vtkusers] Heap corruption with QVTKWidget

Kyle Lutz kyle.lutz at kitware.com
Wed Oct 10 09:58:21 EDT 2012


On Wed, Oct 10, 2012 at 6:47 AM, Doug Hoppes <dhoppes at mbfbioscience.com> wrote:
> Okay,
>                 I’m seeing something strange and not sure what’s going on.
> I have a QWidget that contains a QVTKWidget, some buttons and some sliders.
> If I add my QWidget to a QDockingWindow using QDesigner, no problems.  If I
> programmatically add the QWidget using layout()->addWidget(), when I shut
> down my application, I always get a heap corruption.  No such error happens
> if I don’t use the QVTKWidget.

Hi Doug,

This is hard to diagnose without looking at your code. Could you post
a small, compilable example that shows the problem?

Thanks,
Kyle



More information about the vtkusers mailing list