<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello Chirstopher,<br><br>I tried with the binary but same error.<br><br>Now is it possible if somehow qmake or Qt bin and plugins are not available in the directory where cmake is looking for them then it can give the error like:<br><br>unable to execute cmake: No such file or directory<br><br>Regards,<br>Gargi<br><br><div><hr id="stopSpelling">Date: Fri, 24 May 2013 10:49:24 -0400<br>Subject: Re: [CMake] CMake unable to detect Qt<br>From: christopher.mullins@kitware.com<br>To: gargi.das@hotmail.com<br>CC: cmake@cmake.org<br><br><div dir="ltr"><ol><li>Why are you building CMake? Are you not able to use the binaries? Install all the dependencies first using this command provided with PySide [1].</li></ol><blockquote class="ecxgmail_quote" style="border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;">
<span style="font-family:arial,sans-serif;font-size:13px;">i have also set my QT_MOC_EXECUTABLE path to my qmake</span></blockquote><div><br></div><div> 2. You should probably be setting your QT_QMAKE_EXECUTABLE variable to the qmake executable when configuring with CMake. What is currently stored in this variable when you run ccmake inside your build directory?</div>
<div><br></div><div>[1] <a href="https://github.com/PySide/BuildScripts/blob/master/dependencies.fedora.sh" target="_blank">https://github.com/PySide/BuildScripts/blob/master/dependencies.fedora.sh</a></div></div><div class="ecxgmail_extra">
<br><br><div class="ecxgmail_quote">On Fri, May 24, 2013 at 1:04 AM, Gargi Das <span dir="ltr"><<a href="mailto:gargi.das@hotmail.com" target="_blank">gargi.das@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
<div><div dir="ltr">Hello christopher ,<br><br>Thanks for your reply, but i was not able to understand that completely :(<br><br>Do you mean i should export -DQT_QMAKE_EXECUTABLE:PATH=/qmake/ which building CMake ?? or something else !!<br>
<br>Regards,<br>Gargi<br><div class="ecxhm ecxHOEnZb"><br></div><div><div class="ecxhm ecxHOEnZb"><hr>Date: Fri, 24 May 2013 00:54:04 -0400<br>Subject: Re: [CMake] CMake unable to detect Qt<br>From: <a href="mailto:christopher.mullins@kitware.com" target="_blank">christopher.mullins@kitware.com</a><br>
To: <a href="mailto:gargi.das@hotmail.com" target="_blank">gargi.das@hotmail.com</a><br>CC: <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a></div><div><div class="h5"><br><br><p dir="ltr">Try setting your qmake variable to qmake instead: cmake -DQT_QMAKE_EXECUTABLE:PATH=/path/to/qmake -DQT_MOC_EXECUTABLE:PATH=/path/to/moc<br>
On May 24, 2013 12:36 AM, "Gargi Das" <<a href="mailto:gargi.das@hotmail.com" target="_blank">gargi.das@hotmail.com</a>> wrote:<br>
><br>
> Hello All,<br>
><br>
> I am kind of noob to CMake and this is my first question so i hope you all will not go hard on me :) .<br>
><br>
> I am trying to build pyside and for that i need to build CMake for RHEL 5 machine, i follow the procedure mentioned in Readme.txt which is very straight forward. <br>
><br>
> First i run the command:<br>
> ./bootstrap --prefix=some path<br>
><br>
> this operation generates lots of .o files but at the end gives me a following message:<br>
> loading initial cache file /user/username/Desktop/pyside/cmake-2.8.11/Bootstrap.cmk/InitialCacheFlags.cmake<br>
> -- Could NOT find Qt4 (missing: QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR) (found version "4.7.1")<br>
> -- Configuring done<br>
> -- Generating done<br>
> -- Build files have been written to: /user/username/Desktop/pyside/cmake-2.8.11<br>
><br>
> i have also set my QT_MOC_EXECUTABLE path to my qmake. so first questions why bootstrap is not able to find qmake .<br>
><br>
> Second after this i can run make and make install which installs CMake to the directory but when pyside tries to use that with cmake -g command i always get:<br>
> unable to execute cmake: No such file or directory<br>
><br>
> Any clues on that why that should happen ??<br>
><br>
> Regards,<br>
> Gargi<br>
><br>
><br>
> <br>
><br>
> --<br>
><br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</p></div></div></div>                                            </div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</div></div>                                            </div></body>
</html>