[Development] moc output changes coming

Volker Hilsheimer volker.hilsheimer at qt.io
Thu Nov 14 10:20:16 CET 2024



> On 12 Nov 2024, at 03:48, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> The changes to moc are getting integrated. The next batch will include a 
> change to the output revision number, so qtmetamacros.h and moc must match. 
> Because we decided that moc does not need to keep compatibility, you may need 
> to rebuild:
> 
> If you're using QT_HOST_TOOLS, you'll need to rebuild the host tools.
> 
> If you've got non-automoc uses anywhere (e.g., tst_moc), you'll need to 
> manually clean the cache. Which files must be removed is non-obvious, so just 
> delete your build tree and build again.
> 
> If you have build problems after cleaning everything, let me know. I did not 
> see anything in my builds of Qt, but I only build qtbase for Mac and Windows 
> (aside from activeqt, which we're managing).
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Principal Engineer - Intel DCAI Platform & System Engineering
> -- 
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development

Did you build Qt SCXML? Build fails now with:

error: "qtmochelpers.h not found or too old.”

Volker



More information about the Development mailing list