[vtkusers] VtkWidget for Qt

Lays Rodrigues laysrodriguessilva at gmail.com
Thu Oct 29 09:51:56 EDT 2015


2015-10-29 10:32 GMT-02:00 Werner Sembach <werner at sembach.de>:

> 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)
>

No, i didnt see that i need do that. =S


> 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
>

I'm working with qt5. Thanks for this tip. No problem in include manually.
;)


> 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
> 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
>
>
>


-- 
__
*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
www.facebook.com/brprint3d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151029/38a41ae7/attachment.html>


More information about the vtkusers mailing list