[Development] moc output from non-local tool build

Thiago Macieira thiago.macieira at intel.com
Fri Sep 10 16:58:55 CEST 2021

Qt 6 supports using the moc from a different build of Qt, to help with the 
bootstrapping issue and also so you don't always run a debug-mode moc in your 
debug builds of Qt.

Is that moc required to be from the same Qt version as the Qt you're trying to 
build? Or is there a leeway in accepting slightly different builds?

We haven't yet made changes to the moc output that would make it incompatible, 
but I am thinking of doing that now for plugins and I'd like to know if I have 
to keep compatibility with a slightly older moc. It's not a problem, I just 
want to know if this is required.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering

More information about the Development mailing list