Hi Mark,<div><br></div><div>You should use the qmake.exe located in <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">D:/Qt/2010.05/qt</span>/bin instead of <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">D:/Qt/2010.05/qt/</span>qmake</div>
<div>No need to add the qt dir in the path nor locate it anywhere special. </div><div><br></div><div>Julien.</div><div><br><div class="gmail_quote">On Wed, Jan 12, 2011 at 7:13 PM, Mark Roden <span dir="ltr"><<a href="mailto:mmroden@gmail.com">mmroden@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Changing the install directory to d:/qt did not work. I don't have<br>
any space left on my c: drive; is that the only way to get qt and ctk<br>
to work well together, to have it be on the root drive?<br>
<br>
Thanks,<br>
<font color="#888888">Mark<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jan 12, 2011 at 2:57 PM, Mark Roden <<a href="mailto:mmroden@gmail.com">mmroden@gmail.com</a>> wrote:<br>
> OK, I'll check it out.<br>
><br>
> Is that a bug in the cmake module then? I feel like there should be<br>
> some place where I can specify, exactly, where qt is.<br>
><br>
> Thanks,<br>
> Mark<br>
><br>
> On Wed, Jan 12, 2011 at 2:53 PM, Dean Inglis <<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>> wrote:<br>
>> Hi Mark,<br>
>><br>
>> I had similar issues when building VTK with QT GUI support.<br>
>> Try installing Qt ( qt-win-opensource-4.7.1-vs2008.exe)<br>
>> to just D:/Qt as root instead of<br>
>> D:/Qt/2010.05, add D:/Qt/bin and D:/Qt/qt/bin to<br>
>> your path environment variable. I installed to C:/Qt<br>
>> even though all my development is done on a D: drive<br>
>> and those issues issues have since resolved.<br>
>><br>
>> Dean<br>
>><br>
>><br>
>> ----- Original Message ----- From: "Mark Roden" <<a href="mailto:mmroden@gmail.com">mmroden@gmail.com</a>><br>
>> To: <<a href="mailto:ctk-developers@commontk.org">ctk-developers@commontk.org</a>><br>
>> Cc: "Alexandre Gouaillard" <<a href="mailto:agouaillard@gmail.com">agouaillard@gmail.com</a>><br>
>> Sent: Wednesday, January 12, 2011 5:37 PM<br>
>> Subject: [Ctk-developers] getting things to work in windows<br>
>><br>
>><br>
>>> Hi all,<br>
>>><br>
>>> I'm a developer who's working on gdcm/itk/vtk, and now am trying to<br>
>>> familiarize myself with ctk. I apologize if this email should go to a<br>
>>> 'users' list instead of a developers list, but google finds too many<br>
>>> instances of 'Christ The King' for ctk to be helpful. Also, the list<br>
>>> that appears here doesn't contain a users version of the list (for itk<br>
>>> or vtk either, for that matter):<br>
>>><br>
>>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-users</a><br>
>>><br>
>>> Anyway, I can't get ctk to build on my machine (Windows 7 x64,<br>
>>> vs2008). I've installed Qt 2010.5, lgpl edition, including mingw.<br>
>>> Trying to build ctk from the git head produces the following error,<br>
>>> regardless of using 32bit or 64 bit compilers:<br>
>>><br>
>>> CMake Error at CMake/ctkMacroSetupQt.cmake:55 (MESSAGE):<br>
>>> error: Qt4 was not found on your system. You probably need to set the<br>
>>> QT_QMAKE_EXECUTABLE variable<br>
>>> Call Stack (most recent call first):<br>
>>> CMakeLists.txt:280 (ctkMacroSetupQt)<br>
>>><br>
>>> I've found the qmake exe, it's located in<br>
>>> D:/Qt/2010.05/qt/qmake/qmake.exe, but then the cmake file reruns and<br>
>>> changes that value to D:/Qt/2010.05/qt/qmake/qmake.exe-NOTFOUND, which<br>
>>> is clearly incorrect. Changing that value by hand also produces the<br>
>>> following warning:<br>
>>><br>
>>> Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as<br>
>>><br>
>>> C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt/lib<br>
>>> Warning:<br>
>>> C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt/lib<br>
>>> does NOT exist, Qt must NOT be installed correctly.<br>
>>><br>
>>> I have no qt-greenhouse directory in the C: drive, so I'm not sure<br>
>>> where those values are coming from.<br>
>>><br>
>>> Thanks for any help,<br>
>>> Mark<br>
>>> _______________________________________________<br>
>>> Ctk-developers mailing list<br>
>>> <a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
>>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
>><br>
>><br>
><br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</div></div></blockquote></div><br></div>