Hi Clint,<br><br>I haven&#39;t tried it yet. And unfortunately it won&#39;t be possible to do it until next week. However I&#39;ve just tried to install again qt and vtk on my kubuntu (pretty much the same as how they were built on the ppc) and it works perfectly. It&#39;s kind of weird. No idea of what am I missing.
<br><br>Thanks for the suggestion anyway.<br><br>Héctor.<br><br><div class="gmail_quote">On Nov 30, 2007 6:36 PM,  &lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Do the examples in VTK/Examples/GUI/Qt not work either?<br>You can turn the BUILD_EXAMPLES cmake option on to try them.<br><br>Clint<br><div><div></div><div class="Wj3C7c"><br>&gt;<br>&gt; Hi everyone,<br>&gt;<br>&gt; here i&#39;m trying to build an example on a powerpc using the QVTKWidget
<br>&gt; class. It compiles but when executed nothing can be seen in the<br>&gt; window. The code is the following:<br>&gt;<br>&gt; #include &lt;QApplication&gt;<br>&gt; #include &quot;QVTKWidget.h&quot;<br>&gt; //#include &lt;
QEvent.h&gt;<br>&gt;<br>&gt; #include &lt;vtkConeSource.h&gt;<br>&gt; #include &lt;vtkPolyDataMapper.h&gt;<br>&gt; #include &lt;vtkActor.h&gt;<br>&gt; #include &lt;vtkRenderer.h&gt;<br>&gt; #include &lt;vtkRenderWindow.h&gt;
<br>&gt;<br>&gt; int main(int argc, char* argv[]) {<br>&gt;<br>&gt; &nbsp; &nbsp;vtkConeSource *cone = vtkConeSource::New();<br>&gt; &nbsp; &nbsp;cone-&gt;SetResolution(100);<br>&gt; &nbsp; &nbsp;cone-&gt;SetRadius(10);<br>&gt; &nbsp; &nbsp;cone-&gt;SetHeight(7);
<br>&gt; &nbsp; &nbsp;cone-&gt;SetCenter(0,0,0);<br>&gt;<br>&gt; &nbsp; &nbsp;vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();<br>&gt; &nbsp; &nbsp;coneMapper-&gt;SetInputConnection(cone-&gt;GetOutputPort());<br>&gt;<br>&gt; &nbsp; &nbsp;vtkActor *coneActor = vtkActor::New();
<br>&gt; &nbsp; &nbsp;coneActor-&gt;SetMapper(coneMapper);<br>&gt;<br>&gt; &nbsp; &nbsp;vtkRenderer *coneRen = vtkRenderer::New();<br>&gt; &nbsp; &nbsp;coneRen-&gt;AddActor(coneActor);<br>&gt;<br>&gt; &nbsp; &nbsp;vtkRenderWindow *coneRenWin = vtkRenderWindow::New();
<br>&gt; &nbsp; &nbsp;coneRenWin-&gt;AddRenderer(coneRen);<br>&gt;<br>&gt; &nbsp; &nbsp;QApplication app(argc, argv);<br>&gt; &nbsp; &nbsp;QVTKWidget wdgt;<br>&gt;<br>&gt; &nbsp; &nbsp;wdgt.SetRenderWindow(coneRenWin);<br>&gt;<br>&gt; #if QT_VERSION &lt; 0x040000
<br>&gt; &nbsp; &nbsp;app.setMainWidget(&amp;wdgt);<br>&gt; #endif<br>&gt; &nbsp; &nbsp;wdgt.show();<br>&gt;<br>&gt;<br>&gt; &nbsp; &nbsp;return app.exec();<br>&gt; }<br>&gt;<br></div></div></blockquote></div><br>