Well you add the QT4.8/bin in the PATH variable before the Mitex path .or else just move the dll to your executable folder .. <br><br><div class="gmail_quote">On Mon, Mar 12, 2012 at 12:42 AM, francesc trull <span dir="ltr"><<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You are right! I used Dependency Walker and found that my application<br>
is using QtCore4.dll from miktex 2.9.<br>
How can I fix this?<br>
<div class="im HOEnZb"><br>
Francesc.<br>
<br>
2012/3/12 Darshan Pai <<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>>:<br>
</div><div class="HOEnZb"><div class="h5">> Did you search your entire file system ? Many GUI apps when downloaded and<br>
> installed add their own Qt dlls which interfere during VTK development. You<br>
> need to make sure only the dlls that you have compiled should link to VTK.<br>
><br>
><br>
> On Sun, Mar 11, 2012 at 11:54 PM, francesc trull <<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I don't understand. I only have one Qt libs in my system. Which other<br>
>> could be used?<br>
>><br>
>> 2012/3/12 Darshan Pai <<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>>:<br>
>> > You need to use dependency walker to find which Qt libs are being used .<br>
>> ><br>
>> > On Sun, Mar 11, 2012 at 11:38 PM, francesc trull<br>
>> > <<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> I put QtGui4.dll in my Release directory but the problem persists.<br>
>> >><br>
>> >> Francesc.<br>
>> >><br>
>> >> 2012/3/12 John Drescher <<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>>:<br>
>> >> > On Sun, Mar 11, 2012 at 11:07 PM, francesc trull<br>
>> >> > <<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>> wrote:<br>
>> >> >> I did a search and found QtGui4.dll in two directories: Qt\4.8.0\bin<br>
>> >> >> and Qt\4.8.0\lib. My QTDIR is set to Qt\4.8.0 and my Path contains<br>
>> >> >> Qt\4.8.0\bin<br>
>> >> >> What should I change?<br>
>> >> ><br>
>> >> > I use Qt\4.8.0\bin. However both files should be the same. If they<br>
>> >> > are<br>
>> >> > different then something bad happened in your Qt build.<br>
>> >> ><br>
>> >> ><br>
>> >> > John<br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>