On 10/27/21 7:18 PM, Thiago Macieira wrote:
On Friday, 10 September 2021 07:58:55 PDT Thiago Macieira wrote:
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.

ping for decision prior to 6.3 feature freeze.

With https://codereview.qt-project.org/c/qt/qtbase/+/378053 it's now possible to turn off the package version check and to use moc of a different Qt version. This requires that moc stays either compatible or handles that /version argument outlined elsewhere in this thread.


Joerg
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to