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">&lt;<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>&gt;</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 &lt;<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>&gt;:<br>
</div><div class="HOEnZb"><div class="h5">&gt; Did you search your entire file system ? Many GUI apps when downloaded and<br>
&gt; installed add their own Qt dlls which interfere during VTK development. You<br>
&gt; need to make sure only the dlls that you have compiled should link to VTK.<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Mar 11, 2012 at 11:54 PM, francesc trull &lt;<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t understand. I only have one Qt libs in my system. Which other<br>
&gt;&gt; could be used?<br>
&gt;&gt;<br>
&gt;&gt; 2012/3/12 Darshan Pai &lt;<a href="mailto:darshanpai@gmail.com">darshanpai@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; You need to use dependency walker to find which Qt libs are being used .<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Mar 11, 2012 at 11:38 PM, francesc trull<br>
&gt;&gt; &gt; &lt;<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I put QtGui4.dll in my Release directory but the problem persists.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Francesc.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 2012/3/12 John Drescher &lt;<a href="mailto:drescherjm@gmail.com">drescherjm@gmail.com</a>&gt;:<br>
&gt;&gt; &gt;&gt; &gt; On Sun, Mar 11, 2012 at 11:07 PM, francesc trull<br>
&gt;&gt; &gt;&gt; &gt; &lt;<a href="mailto:francesctrull@gmail.com">francesctrull@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; I did a search and found QtGui4.dll in two directories: Qt\4.8.0\bin<br>
&gt;&gt; &gt;&gt; &gt;&gt; and Qt\4.8.0\lib. My QTDIR is set to Qt\4.8.0 and my Path contains<br>
&gt;&gt; &gt;&gt; &gt;&gt; Qt\4.8.0\bin<br>
&gt;&gt; &gt;&gt; &gt;&gt; What should I change?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I use Qt\4.8.0\bin. However both files should be the same. If they<br>
&gt;&gt; &gt;&gt; &gt; are<br>
&gt;&gt; &gt;&gt; &gt; different then something bad happened in your Qt build.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; John<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>