[vtkusers] Vtk+Qt in Windows7

Darshan Pai darshanpai at gmail.com
Sun Mar 11 22:49:56 EDT 2012


You may have multiple QT dlls in your system. The easiest way to deal with
it is to put the dlls in your Release folder , or add the QT path in the
environment variables

On Sun, Mar 11, 2012 at 10:46 PM, francesc trull <francesctrull at gmail.com>wrote:

> I'm sorry, I was looking in the wrong place. I do have QtCore4.dll and
> QtGui4.dll in the Qt directory (that I built myself). I don't have
> vtkQtChart.lib in vtk\bin\Debug but I do have it in vtk\bin\Release. I
> can build RenderWindowUI.cxx in Release mode successfully. However,
> when I try to execute it I get the message:
>
> Cannot find the entry point of the procedure
> ??4QImage@@QAEAAV0@$$QAV0@@Z in the dynamic link library QtGui4.dll
>
> Francesc.
>
> 2012/3/12 John Drescher <drescherjm at gmail.com>:
> > On Sun, Mar 11, 2012 at 9:33 PM, francesc trull <francesctrull at gmail.com>
> wrote:
> >> This is precisely the problem. vtkQtChart.lib doesn't exist. Neither
> >> does QtCore.dll nor QtGUI.dll
> >
> > Those should be in the folder you built Qt in. Then in the vtk setup
> > you should have had to set QTDIR to point to this location. Before
> > building vtk with Qt support. Remember there are binary downloads for
> > Qt, but if they are not the same compiler you are using they are no
> > good to you. I just build Qt for each version of Visual Studio I use.
> >
> > John
> _______________________________________________
> 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/20120311/405a3aba/attachment.htm>


More information about the vtkusers mailing list