[vtk-developers] Reg:Error using QVTKWidget

David Doria daviddoria at gmail.com
Wed Nov 23 08:11:39 EST 2011


On Wed, Nov 23, 2011 at 7:30 AM, Sridhar Ponnangatti Masilamani
<Sridhar.Masilamani at hcl.com> wrote:
> Hi,
>
>
>
>
>
> I  have created a widget in the QT Launch designer. I have promoted this to
> QVTKWidget. But when I build the application I am getting linker errors.
>
>
>
> I have copied the linker error below.
>
>
>
> Please provide a solution on how to resolve this.
>
> error LNK2019: unresolved external symbol "public: __thiscall
> QVTKWidget::QVTKWidget(class QWidget *,class QFlags<enum Qt::WindowType>)"
> (??0QVTKWidget@@QAE at PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z) referenced
> in function "public: void __thiscall Ui_TestClass::setupUi(class QMainWindow
> *)" (?setupUi at Ui_TestClass@@QAEXPAVQMainWindow@@@Z)
>
>
>
>
>
> Regards,
>
> Sridhar

Did you build VTK with the options described here?

http://www.vtk.org/Wiki/VTK/Tutorials/QtSetup

David



More information about the vtk-developers mailing list