<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><div>I updated and I'm getting this:</div><div><br data-mce-bogus="1"></div><div>CMake Warning (dev) in claro/navigation5/CMakeLists.txt:</div><div>  Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files.</div><div>  Run "cmake --help-policy CMP0071" for policy details.  Use the cmake_policy</div><div>  command to set the policy and suppress this warning.</div><div><br></div><div>  AUTOMOC: Ignoring GENERATED header file(s):</div><div><br></div><div>    "/path/to/ui_SomeFile.h"</div></div><div>    "/path/to/qrc_AnotherFile.cpp"<br></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Those ui_* and qrc_* files do not require processing by moc.</div><div>In this case, I was using qt5_wrap_ui() and qt5_add_resources().</div><div><br data-mce-bogus="1"></div><div><div>I did an experiment and replaced qt5_wrap_ui() with autouic, and the warning went away for those ui_* files.</div><div><br></div></div><div>Is there a way to not print out that policy warning on ui_* and qrc_* files when using qt5_wrap_ui()/qt5_add_resources()?</div><div>These are the only file types for which I'm getting that warning.</div><div><br data-mce-bogus="1"></div><div>I think the related issue is here:</div><div>https://gitlab.kitware.com/cmake/cmake/issues/16186<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,</div><div></div><div>Clint</div></div></body></html>