Actually, debugged a lot more and found this! The first CMake generation pass: Generates but no inclusion
*Forcing a second pass makes it include the newly generated moc'* It says *"AutoMoc: Generating 'XXXXX' because the MOC settings changed"* I'm not too clear on why this is happening, any ideas on how to fix it, or force it to reload whatever 'moc settings' are changing? Note: This affects both relaxed and non-relaxed mode, my fix was a dummy because it involved regenerating cmake (ofc)....which is the actual solution. VT On Fri, Jan 25, 2019 at 12:07 PM Venedict Tchistopolskii <veny...@gmail.com> wrote: > Unfortunately the project is fairly, uhm, large.....no small sample sorry. > > I'm not too familiar with the moc setup either, only reason I touched it > is because it started failing after the CMake version update. > > If using relaxed mode, the moc files get generated but aren't included. So > the standard "QT_OBJECT" setup is being detected but not added to VStudio > v15.6.7 64 bit. > > It does use a fairly old QT version, QT 5.6. > > VT > > On Fri, Jan 25, 2019 at 10:49 AM Sebastian Holtermann <sebl...@xwmw.org> > wrote: > >> Am Freitag, 25. Januar 2019, 17:36:22 CET schrieb Venedict Tchistopolskii: >> > When updating the project CMake from 3.12 to 3.13, >> > *CMAKE_AUTOMOC_RELAXED_MODE* stops including certain generated moc >> files. >> > >> > Had to switch to *CMAKE_AUTOMOC *to get them included.....strange >> > functionality on the part of CMake. >> > >> > Can't find any documentation on these changes, and if/how they were >> touched >> > at all. >> >> This isn't an intentional behavior change. >> Could you provide a minimal example that reproduces the problem? >> >> Also please feel free to open an issue here: >> https://gitlab.kitware.com/cmake/cmake/issues >> >> -Sebastian >> >> >> >> -- >> >> Powered by www.kitware.com >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Kitware offers various services to support the CMake community. For more >> information on each offering, please visit: >> >> CMake Support: http://cmake.org/cmake/help/support.html >> CMake Consulting: http://cmake.org/cmake/help/consulting.html >> CMake Training Courses: http://cmake.org/cmake/help/training.html >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Follow this link to subscribe/unsubscribe: >> https://cmake.org/mailman/listinfo/cmake-developers >> >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers