@ -89,8 +89,8 @@ static const TransKey g_rgQtToSymX[] = {
{ XKB_KEY_F33 , Qt : : Key_F33 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_F33 , Qt : : Key_F33 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_F34 , Qt : : Key_F34 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_F34 , Qt : : Key_F34 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_F35 , Qt : : Key_F35 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_F35 , Qt : : Key_F35 , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Super_L , Qt : : Key_Super_L , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Super_L , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Super_R , Qt : : Key_Super_R , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Super_R , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Menu , Qt : : Key_Menu , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Menu , Qt : : Key_Menu , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Hyper_L , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Hyper_L , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Hyper_R , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
{ XKB_KEY_Hyper_R , Qt : : Key_Meta , Qt : : KeyboardModifiers ( ) } ,
@ -517,6 +517,8 @@ void XkbTest::testFromQtKey()
QFETCH ( int , keyQt ) ;
QFETCH ( int , keyQt ) ;
QList < xkb_keysym_t > keys = xkb . keysymsFromQtKey ( keyQt ) ;
QList < xkb_keysym_t > keys = xkb . keysymsFromQtKey ( keyQt ) ;
QEXPECT_FAIL ( QByteArray : : number ( XKB_KEY_Super_L , 16 ) , " keysymsFromQtKey doesn't map super to meta " , Continue ) ;
QEXPECT_FAIL ( QByteArray : : number ( XKB_KEY_Super_R , 16 ) , " keysymsFromQtKey doesn't map super to meta " , Continue ) ;
QEXPECT_FAIL ( QByteArray : : number ( XKB_KEY_Hyper_L , 16 ) , " keysymsFromQtKey doesn't map hyper to meta " , Continue ) ;
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 ) ;
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)
# if QT_VERSION < QT_VERSION_CHECK(6, 7, 1)