<div><div class="gmail_quote">On Fri, Sep 24, 2010 at 1:53 PM, Anders Wallin <span dir="ltr">&lt;<a href="mailto:anders.e.e.wallin@gmail.com" target="_blank">anders.e.e.wallin@gmail.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>
when I try to compile this example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/BorderWidget" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/BorderWidget</a><br>
on my Ubuntu 10.04LTS system I get:<br>
SimpleView.cxx:11:28: error: vtkQtTableView.h: No such file or directory<br>
<br>
However the example seems (?) to compile and work when commenting out<br>
the offending #include line in SimpleView.cxx<br>
<br>
I have installed:<br>
vtk5.2.1<br>
libvtk5-qt4-dev<br>
libvtk5.2-qt4<br>
qt 4.6.2<br>
<br>
are the examples supposed to compile without errors on this platform?<br>
<br>
thanks,<br>
Anders<br><br></blockquote><div class="gmail_quote"><br></div><div class="gmail_quote">Anders,</div><div class="gmail_quote"><br></div>There were a lot of unused includes in that example. I removed them. I also changed the dual renderers to a single renderer. This was not adding anything useful to the example - it&#39;s point is to demonstrate that the widget must be a member of the class so it does not go out of scope (and hence mysteriously not be displayed).</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">The Qt examples are not tested by our nightly dashboard as the rest of the examples are. Maybe Bill can comment on adding this functionality?</div><div class="gmail_quote">
<br><div>Let me know if you have any other problems,<br><br></div><div>David </div></div></div>