<p dir="ltr">Should this have changed in 3.6 I couldn't see anything in the change log? </p>
<p dir="ltr">How can I control where they are generated? <br>
</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, 15 Jul 2016, 18:51 David Callu <<a href="mailto:ledocc.pub@gmail.com">ledocc.pub@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi Tom,<br><br></div>Same thing on my side. I call in my code functions defined in generated .cpp from moc/rcc.<br></div>Functions name are based on file path used during .cpp generation.<br></div>And this path change from cmake 3.5 to 3.6.<br><br></div>You should check functions in generated .cpp files that you used in your code.<br><br></div>HTH<br></div>David</div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">2016-07-15 1:54 GMT+02:00 Tom Kulaga <span dir="ltr"><<a href="mailto:tommy8927@gmail.com" target="_blank">tommy8927@gmail.com</a>></span>:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I'm using 3.5.2 for a qt based project and I've updated to 3.6 and the RCC feature seems to fail. Here's a summary</div><div><br></div><div>CMAKE settings:</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">cmake_policy</span>(<span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">SET</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">CMP0015</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">NEW</span>)<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">relative</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">linker</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">paths</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">cmake_policy</span>(<span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">SET</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">CMP0020</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">NEW</span>)<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">linking</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">qmainlib</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(142,144,140)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">Tell</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">CMake</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">run</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">moc</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">when</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">necessary:</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">set</span>(<span style="color:rgb(77,77,76)">CMAKE_AUTOMOC</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">ON</span>)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">set</span>(<span style="color:rgb(77,77,76)">CMAKE_AUTOUIC</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">ON</span>)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">set</span>(<span style="color:rgb(77,77,76)">CMAKE_AUTORCC</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">ON</span>)</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(142,144,140)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">As</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">moc</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">files</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">are</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">generated</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">in</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">the</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">binary</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">dir,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">tell</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">CMake</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(142,144,140)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">always</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">look</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">for</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">includes</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(142,144,140)">there:</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-weight:600;color:rgb(200,40,41)">set</span>(<span style="color:rgb(77,77,76)">CMAKE_INCLUDE_CURRENT_DIR</span><span style="color:rgb(192,192,192)"> </span><span style="font-family:consolas;font-size:10pt;color:rgb(77,77,76);background-color:rgb(250,250,250)">ON</span>)</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="sans-serif"><span style="line-height:19.5px">When I swtiched to 3.6, the compiler can no longer link to the generated rcc files.</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="sans-serif"><span style="line-height:19.5px"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="sans-serif"><span style="line-height:19.5px">Anyone else face this or know what I'm doing wrong?</span></font></pre></div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--<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/CMake_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/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.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/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div><br></div>
--<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/CMake_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/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.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/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a></blockquote></div>