<div dir="ltr">I think you need to set the GUI support flag ON.<br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 9:59 AM, Gib Bogle <span dir="ltr">&lt;<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m building VTK + VTK_USE_QT on Windows with QtSDK-4.7.3.  This is the first time I&#39;ve tried to build VTK using the Qt SDK.  cmake-gui gives an error message:  Could not find Qt4.<br>

I have set the environment variable QTDIR, and added %QTDIR%\bin to the PATH.<br>
I have other programs that I build using Qt on this machine, but for these I am using QtCreator - which obviously knows where to find Qt4.<br>
<br>
Can someone tell me what I need to do to ensure that Qt4 is found by cmake-gui (i.e. by cmake&#39;s FIND_PACKAGE()) when using QtSDK?<br>
<br>
Thanks<br>
Gib<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120113130210&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>

<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:12},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120113130210&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>

<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:13},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120113130210&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>

<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:13},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120113130210&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>

</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>