<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Clinton: Thank you for this helpful link. Copy QVTKWidgetPlugin.dll to the following folder solved the problem. </DIV>
<DIV> </DIV>
<DIV>C:\Program Files\Trolltech\Qt VS Integration\plugins\designer</DIV>
<DIV> </DIV>
<DIV>Now I can see QVTKWidget in both Qt Designer Widget box and VS 2008 Qt Toolbox. FYI, here is my system info:</DIV>
<DIV> </DIV>
<DIV>WinXP Pro (32 bit)</DIV>
<DIV>VS 2008 Pro</DIV>
<DIV>Qt 4.4.3</DIV>
<DIV>VTK 5.2.1 (worked for both static and dynamic builds)</DIV>
<DIV><BR><BR>--- On <B>Mon, 2/9/09, Clinton Stimpson <I><clinton@elemtech.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Clinton Stimpson <clinton@elemtech.com><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, 1:51 PM<BR><BR><PRE>Does this answer your question?
http://lists.trolltech.com/qt-interest/2008-04/thread00068-0.html
If not, you should check the qt list and post there.
Clint
Jim wrote:
> Hi Clinton,
> Thank you for your help. I actually saw QVTKWidget in Qt Widget Box of Qt
Designer, but NOT in the Qt Toolbox of Visual Studio 2008. Do I have to
reinstall Qt to add QVTKWidget into Qt Toolbox of VS 2008? Is there any quick
fix for this such as copying and pasting a few files? I tried both shared and
static builds of VTK but did not make any difference. I built VTK in release
mode and installed Qt release version.
>
>
> Thank you.
>
> Jim
>
>
> --- On *Mon, 2/9/09, Clinton Stimpson /<clinton@elemtech.com>/*
wrote:
>
> From: Clinton Stimpson <clinton@elemtech.com>
> Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox
> To: jiksed@yahoo.com
> Cc: vtkusers@vtk.org
> Date: Monday, February 9, 2009, 11:49 AM
>
>
> It needs to match the build type of the designer, which is
> typically release.
> Have you tried the Help -> About Plugins dialog in the Designer to
> check for errors?
> If its not in the list, you didn't put the dll in the right place.
> If there is an error loading it, it gives you the error.
>
> Also, it doesn't matter if VTK is shared libs or not. Only the
> .dll needs to be copied to the plugins/designer directory.
> It shows up in the toolbox under "QVTK"
>
> Clint
>
>
> On Feb 9, 2009, at 11:38 AM, Jim wrote:
>
>> Yes it is a release build. Do I need a debug or release build?
>> Thank you.
>>
>> --- On *Mon, 2/9/09, Clinton Stimpson /<clinton@elemtech.com
>> <mailto:clinton@elemtech.com>>/* wrote:
>>
>> From: Clinton Stimpson <clinton@elemtech.com
>> <mailto:clinton@elemtech.com>>
>> Subject: Re: [vtkusers] Install QVTKWidget into Qt
>> Designer/Toolbox
>> To: jiksed@yahoo.com <mailto:jiksed@yahoo.com>
>> Cc: vtkusers@vtk.org <mailto:vtkusers@vtk.org>
>> Date: Monday, February 9, 2009, 11:26 AM
>>
>> Is this a release build?
>> Clint
>>
>> Jim 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
<http://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
>> >
>>
>>
>
>
</PRE></BLOCKQUOTE></td></tr></table><br>