[vtkusers] Vtk+Qt in Windows7

francesc trull francesctrull at gmail.com
Sun Mar 11 23:07:07 EDT 2012


I did a search and found QtGui4.dll in two directories: Qt\4.8.0\bin
and Qt\4.8.0\lib. My QTDIR is set to Qt\4.8.0 and my Path contains
Qt\4.8.0\bin
What should I change?

Francesc.

2012/3/12 Darshan Pai <darshanpai at gmail.com>:
> 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
>
>



More information about the vtkusers mailing list