I've not managed to reproduce with my CI testing repo - there Qt-6.0 still gets always installed, and there's no problems with it.
I'll push attached patch to use 'brew --prefix qt@6' immediately regardless, in the hope that it helps.
Reply To cazfi
I'll push attached patch to use 'brew --prefix qt@6' immediately regardless, in the hope that it helps.
Pushed to master (only). Didn't help.
Its' likely that version directory "Current" in m4/qt5-darwin.m4 needs changing, but I don't yet know to what value.
Switching to use Qt5 as a temporary solution to failing CI: #42250
Reply To cazfi
I've not managed to reproduce with my CI testing repo - there Qt-6.0 still gets always installed, and there's no problems with it.
Now Qt-6.1 gets installed for that too. The problem seems to be that it doesn't find 'moc' command. Don't know if they have just moved/renamed it, or have they completely dropped it.
FYI, The Qt folks say, "With Qt 6 we now require a C++17 compatible compiler…" (source: https://www.qt.io/blog/qt-6.0-released ). You may need to add an option " -std=c++17" to the automake scripts for the Qt6 client somewhere.
Reply To jdlh
FYI, The Qt folks say, "With Qt 6 we now require a C++17 compatible compiler…" (source: https://www.qt.io/blog/qt-6.0-released ). You may need to add an option " -std=c++17" to the automake scripts for the Qt6 client somewhere.
That should be taken care of by m4/compiler.m4 in the branches where Qt6 is supported.
Reply To cazfi
[ option " -std=c++17" ] should be taken care of by m4/compiler.m4 in the branches where Qt6 is supported.
Yes, I agree, from having read the automake scripts in branches master and S3_1 . Note that I have not yet run them with Qt6 present, only with Qt5 from MacPorts.
Also, FYI, it appears that MacPorts does not yet distribute Qt6. I opened a ticket to request that it do: #62982 qt6: add port(s) for new Qt version 6 https://trac.macports.org/ticket/62982 .
CI builds are failing because OSX Qt6 configure fails.
It seems that Qt package installed has been updated to Qt-6.1, which is probably related.