チケット #42249

CI: OSX Qt6 configure failing

登録: 2021-05-12 12:16 最終更新: 2021-07-02 08:29

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
2

詳細

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.

チケットの履歴 (13 件中 3 件表示)

2021-05-12 12:16 更新者: cazfi
  • 新しいチケット "CI: OSX Qt6 configure failing" が作成されました
2021-05-12 12:35 更新者: 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.

I'll push attached patch to use 'brew --prefix qt@6' immediately regardless, in the hope that it helps.

2021-05-12 12:44 更新者: cazfi
コメント

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 更新者: cazfi
コメント

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 更新者: cazfi
コメント

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

2021-05-15 17:09 更新者: cazfi
コメント

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 更新者: 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.

2021-05-27 09:25 更新者: cazfi
コメント

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 更新者: jdlh
コメント

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 .

(編集済, 2021-05-28 06:07 更新者: jdlh)
2021-06-25 05:45 更新者: cazfi
  • 解決法なし から 受領 に更新されました
2021-07-02 08:29 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする