what does this mean<br><br>sudo cp ~/bin/VTK/bin/libQVTKWidgetPlugin.so /usr/lib/qt4/plugins/designer
<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 1:20 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></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><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Feb 10, 2010 at 7:56 AM, KS Jothybasu <span dir="ltr"><<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>></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;">
Hi all,<br><br>Don't get irritated by this basic question, because I have never used C/C++ (but I could understand the code).<br><br>Now I want to slowly switch to c++ from python. So, as a first step I downloaded Qt creator and copied some vtk examples and tried to run , but it says no header files<br>
found. I have installed vtk 5.4.2. Is there anything to be done, like seiing the path,etc....<br><br><br>Many thanks<br><br>Jothy<br><br></blockquote><div><br></div></div></div><div>There are a few things you must turn on in your VTK build.</div>
<a href="http://www.vtk.org/Wiki/VTK/Examples#Qt" target="_blank">http://www.vtk.org/Wiki/VTK/Examples#Qt</a><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples#Qt" target="_blank"></a>If you just install a pre-build version of VTK, I'm not sure if these things are already on?</div>
<div><br></div><div>To use Qt with CMake, you have to add:</div><span style="font-family: monospace; font-size: 10px;"><pre style="border: 0px none white; margin: 0px; padding: 0px; color: black; line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; -moz-background-clip: inherit; -moz-background-origin: inherit; -moz-background-inline-policy: inherit;">
<span style="color: rgb(31, 63, 129);"><br></span></pre><pre style="border: 0px none white; margin: 0px; padding: 0px; color: black; line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; -moz-background-clip: inherit; -moz-background-origin: inherit; -moz-background-inline-policy: inherit;">
<span style="color: rgb(31, 63, 129);">FIND_PACKAGE</span><span style="color: rgb(25, 125, 139);">(</span>Qt4 REQUIRED<span style="color: rgb(25, 125, 139);">) </span></pre></span><div>
<span style="font-family: monospace; font-size: 10px; white-space: pre;"><span style="color: rgb(31, 63, 129);">INCLUDE</span><span style="color: rgb(25, 125, 139);">(</span><span style="color: rgb(176, 128, 0);">${QT_USE_FILE}</span></span></div>
<div><span style="font-family: monospace; font-size: 10px; white-space: pre;"><span style="color: rgb(25, 125, 139);"><br></span></span></div><div>to your CMakeLists.txt file. I do not use Qt Creator, so I can't help you with that. What I have done is use Qt Designer to make a .ui file and then use it with a VTK program. There are some more tricky things to do in the CMakeLists.txt for that - I will post them today.</div>
<div><br></div><div>Try a couple of these things and let us know if you're still stuck.</div><div><br clear="all">Thanks,<br><br></div><div>David</div></div></div>
<br>_______________________________________________<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>
<br></blockquote></div><br>