Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Get error while building the vtk using qt libraray ?



  • I am getting this one error

       "Severity	Code	Description	Project	File	Line	Suppression State
      Error	LNK2001	unresolved external symbol "protected: virtual void __cdecl QVTKOpenGLWidget::dropEvent(class 
      QDropEvent *)" (?dropEvent@QVTKOpenGLWidget@@MEAAXPEAVQDropEvent@@@Z)	EasyView	 
      C:\Work\Projects\VTK\VTK\Build\Examples\Infovis\Cxx\EasyView\vtkGUISupportQt-8.1.lib(QVTKOpenGLWidget.obj)"
    

    Any idea about this to anyone. Any help is very helpful for me
    Thank you in advance


  • Lifetime Qt Champion

    Hi
    You only get that one (1) error ?



  • Is the error coming from building the VTK library or from using the VTK library in your project?
    If it's the first then post OS, compiler, architecture, Qt Version and Cmake version used. If it's the second please show us your project file


Log in to reply