diff --git a/cfg/qt.cfg b/cfg/qt.cfg index ad7193d04cf..4f0cf612615 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -383,7 +383,7 @@ false - + @@ -5186,13 +5186,14 @@ QApplication - QMutexLocker + QMutexLocker + QRectF - QMutex - QRecursiveMutex - QSemaphore - QReadWriteLock + QMutex + QRecursiveMutex + QSemaphore + QReadWriteLock diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 5289fad0c7f..346dc03716a 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -20,7 +20,12 @@ #include #include #include +#include +void unreadVariable_QRectF() { + // cppcheck-suppress unreadVariable + QRectF rect(0.0, 0.0, 100.0, 50.0); +} void QString1(QString s) {