[vtkusers] 答复: CXX example with Qt
Wang Q
wangq1979 at outlook.com
Tue Oct 10 08:53:48 EDT 2017
Hi Mike,
Thanks for the prompt reply.
I tried the example of SideBySideRenderWindowsQt on https://lorensen.github.io/VTKExamples/site/Cxx/Qt/SideBySideRenderWindowsQt/. I got the error
Error (active) E1696 cannot open source file "SideBySideRenderWindowsQt.h" SideBySideRenderWindowsQt d:\develop\C++\projects\QtVTKTest\SideBySideRenderWindowsQt.cxx 1
and some other errors relating to the above error.
I am using vtk8.0.1, Qt5.9.1, and VS2017 on Win 7.
Any further comments?
Best wishes,
Chiang
________________________________
发件人: Wang Q <wangq1979 at hotmail.com>
发送时间: 2017年10月10日 13:49
收件人: Mike Chinander; vtkusers at vtk.org
主题: 答复: [vtkusers] CXX example with Qt
Hi Mike,
Thanks for the prompt reply.
I tried the example of SideBySideRenderWindowsQt on https://lorensen.github.io/VTKExamples/site/Cxx/Qt/SideBySideRenderWindowsQt/. I got the error
Error (active) E1696 cannot open source file "SideBySideRenderWindowsQt.h" SideBySideRenderWindowsQt d:\develop\C++\projects\QtVTKTest\SideBySideRenderWindowsQt.cxx 1
and some other errors relating to the above error.
I am using vtk8.0.1, Qt5.9.1, and VS2017 on Win 7.
Any further comments?
Best wishes,
Chiang
SideBySideRenderWindowsQt - GitHub Pages<https://lorensen.github.io/VTKExamples/site/Cxx/Qt/SideBySideRenderWindowsQt/>
lorensen.github.io
WINDOWS USERS PLEASE NOTE: Be sure to add the VTK bin directory to your path. This will resolve the VTK dll's at run time.
________________________________
发件人: vtkusers <vtkusers-bounces at vtk.org> 代表 Mike Chinander <chinander at gmail.com>
发送时间: 2017年10月10日 13:25:50
收件人: vtkusers at vtk.org
主题: Re: [vtkusers] CXX example with Qt
You are going to have give us some more info. What was the example that you downloaded and tried to compile and run? What were the errors.
On Tue, Oct 10, 2017 at 7:16 AM, Wang Q <wangq1979 at outlook.com<mailto:wangq1979 at outlook.com>> wrote:
Hello VTK guys,
I have successfully built VTK8 with Qt5.9.1 using VS 2017. I am trying to follow an example about Qt by CXX, and download CXX and CMake file. By following everything instructed, I opened the generated project and built, but I am faced with some errors, which indicate the relevant header file (.h) is missing.
I googled for a while and did not find a clue. It seems everybody does the same but without the errors. Could anyone shed a light upon what I have missed?
Best wishes,
Chiang
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171010/3e68964b/attachment.html>
More information about the vtkusers
mailing list