[vtkusers] vtkInteractorStyleImage and QT Widget

Ale notinmyhead at gmail.com
Tue Sep 4 08:31:15 EDT 2012


Hello,

I'd like to include a custom vtkInteractorStyleImage in a QT project. I need to store a set of custom qwidgets (I attached the template) in the custom vtkInteractorStyleImage but since a create a sort of loop of classes (including my custom widget header into the custom vtkInteractorStyleImage header and viceversa), it does not compile properly. I got this error when I try to refer to the custom widget class:

custominteractorstyle.h:30: error: 'CustomWidget' was not declared in this scope

What is happening?

Thanks,
Ale


More information about the vtkusers mailing list