Clazy Framework Employed To Help Port Qt 5 Code To Qt 6
The Qt Company is now offering some checks for the Clazy framework to help in porting Qt 5 code to Qt 6 compatibility.
Clazy is KDE's Qt-focused static code analyzer built atop LLVM's Clang. Clazy has been very useful for years in helping KDE/Qt developers discover bugs in their code and also help in some areas with automatic refactoring.
Clazy is now able to help in Qt 6 porting thanks to new checks that detect deprecated API usage, automatically replacing obsolete header paths to new header paths for Qt 6, correcting QHash signatures, forward declaration fixes, and finding QObject derived classes that don't have a Q_OBJECT macro. This is a combination of both checks and automatic fix-its to ideally speed-up the process of converting large code-bases to Qt 6 compatibility.
Qt developers interested in these Clazy checks can learn more about the new features via the Qt.io blog. Learn more about Clazy via its Git repository.
Clazy is KDE's Qt-focused static code analyzer built atop LLVM's Clang. Clazy has been very useful for years in helping KDE/Qt developers discover bugs in their code and also help in some areas with automatic refactoring.
Clazy is now able to help in Qt 6 porting thanks to new checks that detect deprecated API usage, automatically replacing obsolete header paths to new header paths for Qt 6, correcting QHash signatures, forward declaration fixes, and finding QObject derived classes that don't have a Q_OBJECT macro. This is a combination of both checks and automatic fix-its to ideally speed-up the process of converting large code-bases to Qt 6 compatibility.
Qt developers interested in these Clazy checks can learn more about the new features via the Qt.io blog. Learn more about Clazy via its Git repository.
2 Comments