https://bugs.kde.org/show_bug.cgi?id=439337
Bug ID: 439337
Summary: clazy-qt6-deprecated-api-fixes creates invalid code
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Consider this code:
QDir d;
QFileInfo fi;
d = fi.absolutePath();
clazy warns that setPath() should be used. The fixit results in the following
code:
QDir d;
QFileInfo fi;
d.setPath(fi);
which fails to build against Qt 6.1.2:
error: no matching function for call to 'QDir::setPath(QFileInfo&)'
--
You are receiving this mail because:
You are watching all bug changes.