diff --git a/cfg/qt.cfg b/cfg/qt.cfg index bb347296f11..5f08514085b 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -5292,6 +5292,7 @@ QPoint QPointF QRegion + QTransform QMutex diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index d4350cea827..ab02fa67f6a 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -32,9 +32,16 @@ #include #include #include +#include #include +void unusedVariable_QTransform() +{ + // cppcheck-suppress unusedVariable + QTransform a; +} + void unreadVariable_QRegion(const int x, const QRegion::RegionType type, const QPolygon &polygon, const QBitmap &bm, const QRegion ®ion, const Qt::FillRule fillRule) { // cppcheck-suppress unusedVariable