I was using the example so I could have something to base my actual code off, but while working on something else I had to fix some problem and it took me right back to this. So I put something vaguely similar in my own code and had a segmentation error again but it turned out to be:<br>
<br>        QHBoxLayout *hlayout;<br><br>had to be <br><br>        QHBoxLayout *hlayout = new QHBoxLayout();<br><br>instead. So it should be all fixed now, but thanks for the assistance. And thank you for that link, I&#39;ll look through it now.<br>
<br>Best regards<br>Obi<br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 1:13 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@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"><div class="im">On Mon, Dec 10, 2012 at 7:48 PM, Obadiah &lt;<a href="mailto:ob1.owk@gmail.com">ob1.owk@gmail.com</a>&gt; wrote:<br>

&gt; because I need to use QVTK to<br>
<br>
</div>Work on this has probably already been done (see<br>
<a href="http://www.pointclouds.org/blog/gsoc12/jpapon/index.php" target="_blank">http://www.pointclouds.org/blog/gsoc12/jpapon/index.php</a>). You might<br>
want to check that out before you reinvent the wheel.<br>
<br>
Also, can you please step through the example code with a debugger and<br>
tell us where it is segfaulting.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>