<div dir="ltr">Hi Ken,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 4:08 PM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-3094128843266529841m_6362578310831293009WordSection1">
<p class="MsoNormal">This might be a question for the folks at Qt, but I thought I would float it here first as other CMake users might have run into it.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This morning I updated to the most recent versions of CMake (3.10.2) and Qt Creator (4.5.1). I then tried to use Qt Creator to configure a non-trivial CMake project from scratch and ran into an issue. The problem is that any time CMake
fails to configure, the Qt Creator Build Settings GUI becomes non-responsive. This is a serious issue since it is common for CMake to fail because it cannot find some required component (like a library it depends on), and then to use the GUI to point CMake
to the proper location of the library. However, once CMake fails to configure, Qt Creator doesn’t let you change the CMake variables to point it in the right direction.<u></u><u></u></p>
<p class="MsoNormal"><u></u> </p></div></div></blockquote><div>Out of curiosity, I updated my Qt Creator to 4.5.1 and tested it with CMake(3.10.1) on my Ubuntu 16.04 laptop and it works fine. I'm able to modify the CMake variables.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-3094128843266529841m_6362578310831293009WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">I suspect this is caused by the ne w server-mode feature of CMake. My guess is that once the CMake server fails to configure, it stops providing any information to Qt Creator, which then becomes nonresponsive until the configure succeeds.<u></u><u></u></p>
<p class="MsoNormal"><u></u> </p></div></div></blockquote><div>Since CMake introduces its server mode in 3.7, ideally my CMake(3.10.1) should also be affected. Humm.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-3094128843266529841m_6362578310831293009WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">Has anyone seen this behavior or have any workarounds?<u></u><u></u></p>
<p class="MsoNormal"><u></u> </p></div></div></blockquote><div>Have you tried to tweak the CMake variables via ccmake or cmake-gui then right click your project in Qt Creator -> call `Run CMake` in the context menu? </div><div><br></div><div>best regards</div><div>Haocheng</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-3094128843266529841m_6362578310831293009WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">-Ken<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black"> **** Kenneth Moreland</span><span style="font-size:10.5pt;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black"> *** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="mailto:kmorel@sandia.gov" target="_blank"><span style="color:#0563c1">kmorel@sandia.gov</span></a></span><span style="font-size:10.5pt;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black">** *** ** phone: <a href="tel:(505)%20844-8919" value="+15058448919" target="_blank">(505) 844-8919</a><br>
*** web: <a href="http://kennethmoreland.com" target="_blank"><span style="color:#0563c1">http://kennethmoreland.com</span></a></span><span style="font-size:10.5pt;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMak<wbr>e_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/su<wbr>pport.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/co<wbr>nsulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/tr<wbr>aining.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/list<wbr>info/cmake</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-3094128843266529841gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best regards<div>Haocheng</div><div><br></div><div>Haocheng LIU</div><div><span style="color:rgb(0,0,0);font-size:12.8px">Kitware, Inc.</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">R&D Engineer</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">21 Corporate Drive</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Clifton Park, NY 12065-8662</span><br style="color:rgb(0,0,0);font-size:12.8px"><span style="color:rgb(0,0,0);font-size:12.8px">Phone: </span><a href="tel:(518)%20881-4421" value="+15188814443" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">518-881-4421</a><br></div></div></div></div></div>
</div></div>