<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>