Hi Clint,<br><br>I haven't tried it yet. And unfortunately it won't be possible to do it until next week. However I'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'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, <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>> 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>><br>> Hi everyone,<br>><br>> here i'm trying to build an example on a powerpc using the QVTKWidget
<br>> class. It compiles but when executed nothing can be seen in the<br>> window. The code is the following:<br>><br>> #include <QApplication><br>> #include "QVTKWidget.h"<br>> //#include <
QEvent.h><br>><br>> #include <vtkConeSource.h><br>> #include <vtkPolyDataMapper.h><br>> #include <vtkActor.h><br>> #include <vtkRenderer.h><br>> #include <vtkRenderWindow.h>
<br>><br>> int main(int argc, char* argv[]) {<br>><br>> vtkConeSource *cone = vtkConeSource::New();<br>> cone->SetResolution(100);<br>> cone->SetRadius(10);<br>> cone->SetHeight(7);
<br>> cone->SetCenter(0,0,0);<br>><br>> vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();<br>> coneMapper->SetInputConnection(cone->GetOutputPort());<br>><br>> vtkActor *coneActor = vtkActor::New();
<br>> coneActor->SetMapper(coneMapper);<br>><br>> vtkRenderer *coneRen = vtkRenderer::New();<br>> coneRen->AddActor(coneActor);<br>><br>> vtkRenderWindow *coneRenWin = vtkRenderWindow::New();
<br>> coneRenWin->AddRenderer(coneRen);<br>><br>> QApplication app(argc, argv);<br>> QVTKWidget wdgt;<br>><br>> wdgt.SetRenderWindow(coneRenWin);<br>><br>> #if QT_VERSION < 0x040000
<br>> app.setMainWidget(&wdgt);<br>> #endif<br>> wdgt.show();<br>><br>><br>> return app.exec();<br>> }<br>><br></div></div></blockquote></div><br>