<div dir="ltr">Of course, I have set all of the variables you have mentioned. I clicked configure (several times) then generate. It has generated some cmake files and one big make file. Now how to build it with Qt creator.<br>
<br>Thank you<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 11:45 AM, <a href="mailto:mtaverne@engits.eu">mtaverne@engits.eu</a> <span dir="ltr">&lt;<a href="mailto:mtaverne@engits.eu">mtaverne@engits.eu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
Did you enable QT GUI support in cmake?<br>
<br>
If you set the following variables in cmake and make &amp;&amp; make
install, it should set up a VTK plugin for you in Qt Designer:<br>
<code>BUILD_SHARED_LIBS = ON<br>
VTK_USE_GUISUPPORT = ON<br>
VTK_USE_QVTK = ON<br>
VTK_USE_QT = ON<br>
DESIRED_QT_VERSION = 4<br>
<br>
</code>enGrid uses Qt+VTK: <a href="http://engits.eu/cms/index.php?id=4" target="_blank">http://engits.eu/cms/index.php?id=4</a><br>
cmake configuration: <a href="http://engits.eu/phpBB3/viewtopic.php?f=2&amp;t=34" target="_blank">http://engits.eu/phpBB3/viewtopic.php?f=2&amp;t=34</a><br>
<br>
That&#39;s probably not the easiest example to get started with, but I
think it can help.<br>
I&#39;ll try preparing a simpler example later eventually.<div><div></div><div class="h5"><br>
<br>
On 19/07/2010 11:32, Jothy wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
  <div dir="ltr">Hi all,<br>
  <br>
Has anyone use vtk with Qt ccreator? I have downloaded the source files
of vtk5.6 and used cmake to generate makefiles. Now how to procedd
further, I did not see any pro file in the vtkBuild directory, as it
creates proj file for visual studio.<br>
  <br>
Thank you<br>
  <br>
Jothy<br>
  </div>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

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>

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>

Follow this link to subscribe/unsubscribe:
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
  </pre>
</blockquote>
<br>
</div>

</blockquote></div><br></div>