Still broken with the latest (4.12). QtCreator had a similar problem (boo#1202927) but that is fixed as of 2022-10-01.