[vtkusers] Install QVTKWidget into Qt Designer/Toolbox

Jim jiksed at yahoo.com
Mon Feb 9 13:41:17 EST 2009


Luis, 
 
Thank you for offering me a solution. I used to use Borland C++ Builder and could install a vtkBorlandRenderWindow component into VCL. I am sure there is a similar solution to install QVTKWidget into Qt Designer/Toolbox for easy drag and drop GUI design.
 
Thank you.
Jim

--- On Mon, 2/9/09, Luis Roberto P. Paula <luisrpp at gmail.com> wrote:

From: Luis Roberto P. Paula <luisrpp at gmail.com>
Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox
To: jiksed at yahoo.com
Cc: vtkusers at vtk.org
Date: Monday, February 9, 2009, 11:01 AM


Hi Jim,

I'm sure this is not the right way, but it worked for me.

Open in Qtdesigner the .ui file provided in one of the VTK examples and copy and paste the widget to your project.

Hope this helps!

Regards,
Luis


On Mon, Feb 9, 2009 at 3:44 PM, Jim <jiksed at yahoo.com> wrote:






Dear vtkusers,
 
I installed Qt 4.4.3  and built VTK 5.2.1 from source with Qt support in VS2008 with BUILD_SHARED_LIB=OFF. I also built and executed those Qt examples (SimpleView and ImageViewer) successfully. However, I could not find QVTKWidget in Qt Designer/Toolbox after copying QVTKWidgetPlugin.dll and QVTKWidgetPlugin.lib to this folder: \Qt\4.4.3\plugins\designer. These two files are also very small (3 KB lib and 26 KB dll). My questions are
 
1)  Do I have to have a shared build of VTK for this to work?
2) Where to look for QVTKWidget in Qt Toolbox? What will be the name of QVTKWidget in Qt Toolbox?
3) Please let me know the right way to install QVTKWidget into Qt Designer/Toolbox.
 
Thank you.
Jim

_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090209/98886453/attachment.htm>


More information about the vtkusers mailing list