Incidencia #42249

CI: OSX Qt6 configure failing

Abrir Fecha: 2021-05-12 12:16 Última actualización: 2021-07-02 08:29

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
2

Details

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.

Ticket History (3/13 Histories)

2021-05-12 12:16 Updated by: cazfi
  • New Ticket "CI: OSX Qt6 configure failing" created
2021-05-12 12:35 Updated by: cazfi
Comentario

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.

2021-05-12 12:44 Updated by: cazfi
Comentario

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.

2021-05-12 12:52 Updated by: cazfi
Comentario

Its' likely that version directory "Current" in m4/qt5-darwin.m4 needs changing, but I don't yet know to what value.

2021-05-12 13:41 Updated by: cazfi
Comentario

Switching to use Qt5 as a temporary solution to failing CI: #42250

2021-05-15 17:09 Updated by: cazfi
Comentario

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.

2021-05-27 09:16 Updated by: jdlh
Comentario

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.

2021-05-27 09:25 Updated by: cazfi
Comentario

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.

2021-05-28 06:00 Updated by: jdlh
Comentario

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 .

(Edited, 2021-05-28 06:07 Updated by: jdlh)
2021-06-25 05:45 Updated by: cazfi
  • Resolución Update from Ninguno to Accepted
2021-07-02 08:29 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Accepted to Fixed

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar