diff --git a/cfg/qt.cfg b/cfg/qt.cfg index c7bf3d8779b..95dc022cf57 100644 --- a/cfg/qt.cfg +++ b/cfg/qt.cfg @@ -5520,7 +5520,7 @@ - + diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 2b683648dcd..34f6cc8c957 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -894,6 +894,13 @@ int qdateIsValid() return qd.month(); } +void qAssertX() +{ + const char *where = "test"; + const char *what = "assertion failed"; + Q_ASSERT_X(false, where, what); +} + struct S_QTimer_connect : QObject { // #13846 S_QTimer_connect() { // cppcheck-suppress checkLibraryFunction - timeout() is a signal from QTimer