<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I use vtk with QT Creator, and I don't need to worry about *.pro files.
You can use CMake, which will automatically execute QMake and generate
all the necessary files. Basicallly, the same&nbsp; as in the previous
email. Make sure you select the right Qt version.<br>
<br>
On 19/07/10 11:55, Jothy wrote:
<blockquote
 cite="mid:AANLkTinjB2nb1b-P6hu-QgM1CdPq55ydAzi73jys-7oI@mail.gmail.com"
 type="cite">
  <div dir="ltr">Now I opened cmd window and changed dir to the vtk
Build dir, then typed "make"..now its building . should I run "Install"
after make?<br>
  <br>
Thanks,<br>
  <br>
Jothy<br>
  <br>
  <div class="gmail_quote">On Mon, Jul 19, 2010 at 11:45 AM, <a
 moz-do-not-send="true" href="mailto:mtaverne@engits.eu">mtaverne@engits.eu</a>
  <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:mtaverne@engits.eu">mtaverne@engits.eu</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; 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 moz-do-not-send="true"
 href="http://engits.eu/cms/index.php?id=4" target="_blank">http://engits.eu/cms/index.php?id=4</a><br>
cmake configuration: <a moz-do-not-send="true"
 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's probably not the easiest example to get started with, but I
think it can help.<br>
I'll try preparing a simpler example later eventually.
    <div>
    <div class="h5"><br>
    <br>
On 19/07/2010 11:32, Jothy wrote:
    </div>
    </div>
    <blockquote type="cite">
      <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 moz-do-not-send="true" href="http://www.kitware.com"
 target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a moz-do-not-send="true"
 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
 moz-do-not-send="true" 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 moz-do-not-send="true"
 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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Alberto Gomez

Division of Imaging Sciences
The Rayne Institute
4th Floor, Lambeth Wing
St Thomas' Hospital
London SE1 7EH

phone: +44 (0)20 718 88364
email: <a class="moz-txt-link-abbreviated" href="mailto:alberto.gomez@kcl.ac.uk">alberto.gomez@kcl.ac.uk</a>

</pre>
</body>
</html>