From ba7b23c41de1172337ffd9b4768af1b5225bc8dd Mon Sep 17 00:00:00 2001 From: David Redondo Date: Wed, 29 May 2024 12:12:42 +0200 Subject: [PATCH] autotests/test_xkb: Do not expect fail in fixed Qt versions --- autotests/test_xkb.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotests/test_xkb.cpp b/autotests/test_xkb.cpp index 0e7322596f..bbc59259d7 100644 --- a/autotests/test_xkb.cpp +++ b/autotests/test_xkb.cpp @@ -519,7 +519,9 @@ void XkbTest::testFromQtKey() QEXPECT_FAIL(QByteArray::number(XKB_KEY_Hyper_L, 16), "keysymsFromQtKey doesn't map hyper to meta", Continue); QEXPECT_FAIL(QByteArray::number(XKB_KEY_Hyper_R, 16), "keysymsFromQtKey doesn't map hyper to meta", Continue); +#if QT_VERSION < QT_VERSION_CHECK(6, 7, 1) QEXPECT_FAIL(QByteArray::number(XKB_KEY_KP_Equal, 16), "KP_Equal is not correctly identified as keypad key in Qt 6.7.0; fixed in 6.7.1: https://codereview.qt-project.org/c/qt/qtbase/+/546889", Continue); +#endif QVERIFY(keys.contains(keySym)); }