[vtkusers] Install QVTKWidget into Qt Designer/Toolbox

Clinton Stimpson clinton at elemtech.com
Mon Feb 9 15:51:36 EST 2009


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 at elemtech.com>/* wrote:
>
>     From: Clinton Stimpson <clinton at elemtech.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: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 at elemtech.com
>>     <mailto:clinton at elemtech.com>>/* wrote:
>>
>>         From: Clinton Stimpson <clinton at elemtech.com
>>         <mailto:clinton at elemtech.com>>
>>         Subject: Re: [vtkusers] Install QVTKWidget into Qt
>>         Designer/Toolbox
>>         To: jiksed at yahoo.com <mailto:jiksed at yahoo.com>
>>         Cc: vtkusers at vtk.org <mailto:vtkusers at 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
>>         >   
>>
>>                             
>>
>>
>
>




More information about the vtkusers mailing list