[Development] Clang-based refactoring to Qt 6 (Proposal: Deprecate QVector in Qt 6)

Thiago Macieira thiago.macieira at intel.com
Thu Apr 23 15:55:09 CEST 2020

On Thursday, 23 April 2020 05:25:33 PDT Vitaly Fanaskov wrote:
> Provide clang-based tools to (semi-)automatically port users' code bases to
> a new version of Qt. These tools might either fix a code or at least add a
> comment in potentially problematic places where a user should correct the
> code. A developer who changes API should also implement a rule for these
> tools.

This was discussed in a QtCS two or three years ago. There are two huge 
problems with that:

1) Clang cannot compile all Qt-using codebases. Therefore, its tooling cannot 
work in all cases either.

2) No one has volunteered to write such conversion scripts.

And a minor (3) is that automatic conversions seldom look nice and will 
require manual retouching anyway.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products

More information about the Development mailing list