没有为 vtkGUISupportQt-8.2.dll 加载的符号文件
在你的main函数前,加上:
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL2)
VTK_MODULE_INIT(vtkInteractionStyle)
#include "VtkDemo_02.h"
#include <QtWidgets/QApplication>
// 添加的内容,为了防止
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL2)
VTK_MODULE_INIT(vtkInteractionStyle)
// 添加的内容,为了防止
#include "vtkoutputwindow.h" //加入
int main(int argc, char *argv[])
{
vtkOutputWindow::SetGlobalWarningDisplay(0); //加入
QApplication a(argc, argv);
VtkDemo_02 w;
w.show();
return a.exec();
}