<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Luis, </DIV>
<DIV>&nbsp;</DIV>
<DIV>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.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you.</DIV>
<DIV>Jim<BR><BR>--- On <B>Mon, 2/9/09, Luis Roberto P. Paula <I>&lt;luisrpp@gmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Luis Roberto P. Paula &lt;luisrpp@gmail.com&gt;<BR>Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox<BR>To: jiksed@yahoo.com<BR>Cc: vtkusers@vtk.org<BR>Date: Monday, February 9, 2009, 11:01 AM<BR><BR>
<DIV id=yiv1877533423>Hi Jim,<BR><BR>I'm sure this is not the right way, but it worked for me.<BR><BR>Open in Qtdesigner the .ui file provided in one of the VTK examples and copy and paste the widget to your project.<BR><BR>Hope this helps!<BR><BR>Regards,<BR>Luis<BR><BR>
<DIV class=gmail_quote>On Mon, Feb 9, 2009 at 3:44 PM, Jim <SPAN dir=ltr>&lt;<A href="mailto:jiksed@yahoo.com" target=_blank rel=nofollow>jiksed@yahoo.com</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: inherit; font-size-adjust: inherit; font-stretch: inherit" vAlign=top>
<DIV>Dear vtkusers,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I installed Qt 4.4.3&nbsp; and built VTK 5.2.1 from source with Qt support in VS2008 with BUILD_SHARED_LIB=OFF. I also built and executed&nbsp;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</DIV>
<DIV>&nbsp;</DIV>
<DIV>1)&nbsp; Do I have to have a shared build of VTK for this to work?</DIV>
<DIV>2) Where to look for QVTKWidget in Qt Toolbox? What will be the name of QVTKWidget in Qt Toolbox?</DIV>
<DIV>3) Please let me know the right way to install QVTKWidget&nbsp;into Qt Designer/Toolbox.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you.</DIV>
<DIV>Jim</DIV></TD></TR></TBODY></TABLE><FONT color=#888888><BR></FONT><BR>_______________________________________________<BR>Powered by <A href="http://www.kitware.com/" target=_blank rel=nofollow>www.kitware.com</A><BR><BR>Visit other Kitware open-source projects at <A href="http://www.kitware.com/opensource/opensource.html" target=_blank rel=nofollow>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please keep messages on-topic and check the VTK FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank rel=nofollow>http://www.vtk.org/Wiki/VTK_FAQ</A><BR><BR>Follow this link to subscribe/unsubscribe:<BR><A href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank rel=nofollow>http://www.vtk.org/mailman/listinfo/vtkusers</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></td></tr></table><br>