[vtkusers] compiling vtk with qt4 support

Robert Maynard robert.maynard at kitware.com
Wed Mar 13 10:37:21 EDT 2013


You need to make sure that have Qt libraries on your system path.


On Wed, Mar 13, 2013 at 8:10 AM, José M. Rodriguez Bacallao <
jmrbcu at gmail.com> wrote:

> anyone please, could someone put detailed instructions on how to build
> vtk with qt, pyqt and python support on windows, could be with
> MinGW64(32 bit version) or with VS2010 Ultimate?
>
> I can build it without problems but can't execute my programs because
> of linker errors at runtime when vtk is built using VS2010 Ultimate or
> MinGW64 (32 bit version). Also, with MinGW64 (32 bit version), all vtk
> libraries are built with lib prefix, is this ok?
>
> On 3/12/13, José M. Rodriguez Bacallao <jmrbcu at gmail.com> wrote:
> > hi folks, I have successfully compiled vtk with qt and python support
> but I
> > have a small problem, after installing vtk to: c:\vtk, the only way I can
> > run and example or import vtk from python is by copiying all qt libraries
> > to the install directory and the examples. I have set the path variable
> to
> > c:\vtk\bin and python path to where vtk package lies and nothing, I am
> > getting a link error when I try to run an example (Win32Cone), is
> something
> > like: Cannot find synbol XXX from QtCore or something like that. Also,
> with
> > python, when I try to use: import vtk, I am getting a LinkError exception
> >
> > I am using vtk 5.10.1, Qt 4.8.4 for vs2010, python 2.7.3 and vs2010
> > ultimate, any suggestions?
> >
> _______________________________________________
> 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
>



-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130313/fbc1b349/attachment.htm>


More information about the vtkusers mailing list