<div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Sebastien,</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse">I am using a qt project and vtk. I ended up using the following line in the .pro file:</span></font></div>
<div><span class=""></span><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse:collapse"><br></span></font><div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse">DEFINES += vtkRenderingCore_AUTOINIT=\&quot;4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)\&quot;</span></font><br>
</span></div></div><div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse"><br></span></font></span></div><div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse">The list of features in the DEFINES depends on what vtk features you use in your program. I figured them out using trial and error from examples for those features. I used cmake to generate the proper makefile and then looked in that makefile.</span></font></span></div>
<div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse"><br></span></font></span></div><div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse">Hope it helps,</span></font></span></div>
<div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse">Dan</span></font></span></div><div><span class=""><font class="" face="arial, sans-serif"><span class="" style="border-collapse:collapse"><br>
</span></font></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 4:50 PM, Sebastien <span dir="ltr">&lt;<a href="mailto:sebastien.calvi@yahoo.com" target="_blank">sebastien.calvi@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Marcus you&#39;re right and the wiki helps.... To understand; my problem now is<br>
that I did not use CMAKE in our project, it is a Qt project...<br>
<br>
So, how to have the factory properly set with implemented methods?<br>
Do I have to use cmake at all cost?<br>
Isn&#39;t it possible to to have the those methods implemented when one compile<br>
and link the release?<br>
<br>
Thank your for your help,<br>
Sebastien.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-6-0-static-New-function-returns-NULL-tp5720157p5720184.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-6-0-static-New-function-returns-NULL-tp5720157p5720184.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>