Summary: | Implement a check to look for QT_VERSION_CHECK calls below a certain version | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | martonmiklos <martonmiklosqdev> |
Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | alexander.lohnau, smartins |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
martonmiklos
2020-06-21 10:40:07 UTC
Sounds overkill in clazy, I would just grep for QT_VERSION_CHECK after bumping the required Qt version (In reply to Sergio Martins from comment #1) > Sounds overkill in clazy, I would just grep for QT_VERSION_CHECK after > bumping the required Qt version Well my goal was adding this check to my CI processes. Handling version numbers properly with grep might be a bit tricky. I think this is also something that should not be limited to just Qt versions, like KDE frameworks versions too or versions of other libraries. But for the check to work properly, we need configuration of the macros and required versions of the dependencies. From the compile flags, we can not tell this. I'd say this is a bit out of scope for now, but if you are willing to work on it :D |