I want to use the VTK widget in the QT constructor. So I downloaded and installed Qt Creator 4, and now the file is libQVTKWidgetPlugin.so
in / usr / lib / qt4 / plugins / designer
. However, upon launching a new Qt Creator Widget project, and after entering the Design tab, there are no additional widgets listed on the left, only the default ones like push buttons, labels, etc. I have a VTK widget, so that I can drag it and put it on GUI?
Well, I worked with VTK and QT almost a year ago, I hope that nowadays I Still valid.
If this is the case, then you have the C: \ vtk \ VTK5.10.1 \ vs10 \ bin \ release \ / code> (or similar path, the version of the VTK that you have installed ), And localize two files:
QVTKWidgetPlugin.lib
and QVTKWidgetPlugin.dll
. If they are there, then there is a good possibility that you have made VTK properly.
Now those files are c: \ qt. 4.xx \ plugins \ designer
to copy.
If everything goes well, then open QT Designer you will find VTK Windows WIDGET
below the qt widget list like this snapshot:
References:
Comments
Post a Comment