Win10+Qt5+VS2017+VTK8 出现错误"QWidget: Must construct a QApplication before a QPaintDevice"

官方解决方案:https://itk.org/Wiki/VTK/FAQ#Shared_builds_of_VTK_and_debugging_QVTKWidget_using_Visual_Studio  摘要:项目属性->调试-> 环境 选择编辑,添加PATH=<VTK路径>\bin\$(OutDir);%PATH%,确定。之后再编译,发现问题解决。 ----------------------
相关文章
相关标签/搜索