[vtkusers] VTK 6.0 static New() function returns NULL

David Doria daviddoria at gmail.com
Fri Apr 19 10:35:04 EDT 2013


On Fri, Apr 19, 2013 at 10:26 AM, John Drescher <drescherjm at gmail.com> wrote:
>> Thank you all for your answers and suggestions; for now I'm going to stick
>> to vtk 5.10.1 release...
>>
>> release 5.x was easy to use in any type of C++ projects but now it looks
>> like cmake must be used as well. We works essentially with Qt...
>>
>> I've found this that might help as well, use of cmake with Qt:
>> http://qt-project.org/quarterly/view/using_cmake_to_build_qt_projects
>>
>
> I can tell you that CMake works just fine to generate Qt projects. I
> have done so for over 5 years and many versions of Qt. Although I
> mostly build on the windows platform and Visual Studio.
>
> John


Have you looked at these examples?
http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt

They provide CMakeLists.txt files that show how to configure Qt + VTK
projects with CMake.

David



More information about the vtkusers mailing list