[vtkusers] VtkWidget for Qt
Werner Sembach
werner at sembach.de
Thu Oct 29 08:32:43 EDT 2015
Have you compiled vtk with qt support?
There is a compile flag for it that is off by default.
You also need to pay attention on the qt version (also managed with a
cmake flag)
After that
Are you using qt4 or qt5? because the plugin only works for the qt4 creator
however you still can use vtk with qt5 but you have to add the qvtk
widget manually in your c-code
pseudo code:
MainWindow {
ui->setupUi(this);
qvtkWidget = new QVTKWidget(this);
ui->verticalLayout->addWidget(qvtkWidget);
}
Am 29.10.2015 um 06:08 schrieb Lays Rodrigues:
> Hi guys, good night
> My name is Lays, and i'm starting develop with VTK to made a 3DView on
> a project that i'm working.
> After download the source of vtk6-3 and build(cmake, make, install),
> i'm trying do this step on my pc:
> sudo cp ~/build/VTK/lib/libQVTKWidgetPlugin.so /usr/lib/qt4/plugins/designer
> From this article: http://www.vtk.org/Wiki/VTK/Tutorials/QtSetup
> But, i didnt fint the file libQVTKWidget.
> Can anyone give me a tip?
> Thanks
>
>
>
> --
> __
> *Lays Rodrigues*
> *Developer Front-End at Br-Print3D Project*
> *Student of Computer Science at UFF/PURO*
> Organizadora da Semana da Computação UFF-PURO
> www.facebook.com/semanacomputacaopuro
> <http://www.facebook.com/semanacomputacaopuro>
> www.facebook.com/brprint3d <http://www.facebook.com/brprint3d>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151029/c2b36644/attachment.html>
More information about the vtkusers
mailing list