I tried using the path C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\qmake.exe for the QT_QMAKE_EXECUTABLE, but got this message.<br><br><span style=" color:#ff0000;">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:575 (MESSAGE):</span>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">  It appears you&#39;re trying to use Visual Studio with Qt built by mingw.</span></p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">  Those compilers do not produce code compatible with each other.</span></p>

<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">  CMakeLists.txt:305 (FIND_PACKAGE)</span></p><p style="margin: 0px; text-indent: 0px; color: rgb(0, 0, 0);"><br></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
<span style="color: rgb(255, 0, 0);"><span style="color: rgb(0, 0, 0);">Also, I used the path</span></span><span style=" color:#ff0000;"><span style="color: rgb(0, 0, 0);"> C:/QtSDK/Desktop/Qt/4.7.3/mingw/include/QtDesigner</span></span><span style=" color:#ff0000;"><span style="color: rgb(0, 0, 0);"> for the QT_QTDESIGNER_INCLUDE_DIR. I also tried it leaving this blank and got a similar message.</span><br>
</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color:#ff0000;"><br></p>Qt Creator wasn&#39;t on the list of generators used by CMake, so I used Visual Studio 10 as my generator (that&#39;s the only other compiler on my computer besides Qt Creator). I noticed Code Blocks could be used as a generator in CMake. I&#39;m guessing I could download this and use it as the generator and then it (might??) be compatible with Qt Creator. I&#39;d rather find another way around this problem if possible, but if I have to, I can go down this route.<br>
<br><br><br><div class="gmail_quote">2011/7/27 Dženan Zukić [via VTK] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4639440&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">

        <font size="2"><font face="verdana,sans-serif">You should use the one from the library that you want to use. I guess that is:<br></font></font></div><div class="im"><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:16px">C:\QtSDK\Desktop\Qt\4.73\</span><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:16px">mingw\bin</span></div>


</div><div><font face="arial, sans-serif"><span style="border-collapse:collapse;font-size:16px"><br></span></font><div class="gmail_quote"><div class="im">On Wed, Jul 27, 2011 at 15:14, com <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4639052&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span> wrote:<br>


</div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote"><div class="im">Thanks for the advice Dominik. I did a search for qmake.exe in my QTSDK 
directory and found it in a number of different directories.Here they 
are, <br>
<br>
C:\QtSDK\Symbian\SDKs\Symbian1Qt473\bin<br>
C:\QtSDK\Symbian\SDKs\Symbian3Qt473\bin<br>

C:\QtSDK\Symbian\SDKs\Symbian3Qt463\bin<br>

C:\QtSDK\Symbian\SDKs\Symbian1Qt463\bin<br>
C:\QtSDK\Simulator\Qt\mingw\bin<br>
C:\QtSDK\Desktop\Qt\4.73\mingw\bin<br>

<br>
Do you know which one should I use?<br>
<br>
Thanks<br>

<br><br></div><div><div></div><div class="h5"><div class="gmail_quote"><div>On Tue, Jul 26, 2011 at 5:00 PM, Dominik Szczerba [via VTK] <span dir="ltr">&lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4638723&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt;</span> wrote:<br>




</div><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote"><div><div>

        You need to provide the path to qmake.exe when running cmake.
<br><br>Dominik
<br><br></div></div><div><div></div><div><div><div></div><div>On Tue, Jul 26, 2011 at 11:45 PM, com &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4636577&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<div><div><div><div class='shrinkable-quote'><br>&gt; I am trying to set up VTK for Qt Creator. I saw some step by step guides for
<br>&gt; setting up VTK for visual studio, but none for Qt Creator. I have visual
<br>&gt; studio, but would rather use Qt Creator.
<br>&gt;
<br>&gt; I downloaded the latest versions of VTK and CMake and have Qt 4.7.3. If I do
<br>&gt; not select VTK_USE_QT, then CMake seems to build VTK with no problems -
<br>&gt; which might be fine if I was just using visual studio. However, when I
<br>&gt; select VTK_USE_QT I run into a number of errors.
<br>&gt;
<br>&gt; Here are a few of the errors:
<br>&gt;
<br>&gt; Qt QTGUI library not found
<br>&gt; Qt QTSQL library not found
<br>&gt; Qt QTNETWORK library not found
<br>&gt;
<br>&gt; CMake doesn&#39;t seem to be able to find a lot of these - so I tried putting in
<br>&gt; the values myself and still seem to get some errors. Maybe I&#39;m putting in
<br>&gt; the wrong values?
<br>&gt;
<br>&gt; Any help would be much appreciated as I have spent the whole day trying to
<br>&gt; figure out how to get this to work and I would really like to use VTK for a
<br>&gt; project I am working on in graduate school. I&#39;m also not sure what I need to
<br>&gt; do in Qt Creator once I&#39;m done with CMake.
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; View this message in context: <a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4636528.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4636528.html</a></div>




&gt; Sent from the VTK - Users mailing list archive at Nabble.com.
<div><br>&gt; _______________________________________________
<br>&gt; Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
<br>&gt;
<br>&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;
<br>&gt; Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt;
<br>&gt; Follow this link to subscribe/unsubscribe:
<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;
<br>&gt;
</div></div></div>_______________________________________________
</div><div>Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
</div></div>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>




Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
        
        <br>
        <br>
        </div></div></div><hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4636577.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4636577.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from trouble setting up VTK for Qt creator, <a rel="nofollow" link="external" target="_top">click here</a>.
        </div></blockquote></div><br>

        
<br></div></div><hr align="left" width="300">
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4638723.html" rel="nofollow" link="external" target="_blank">Re: trouble setting up VTK for Qt creator</a><div class="im">
<div><div></div><div>

<br>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="nofollow" link="external" target="_blank">VTK - Users mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>

Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></div></blockquote></div><br></div><div class="im">
<br>_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4639052.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4639052.html</a>
        </div><div><div></div><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                
                To unsubscribe from trouble setting up VTK for Qt creator, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.
        </div></div></div></blockquote></div><br>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/trouble-setting-up-VTK-for-Qt-creator-tp4636528p4639440.html">Re: trouble setting up VTK for Qt creator</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>