Qt 5.1.1 problem in xkbcommon, keyboard does not work



  • I compiled Qt 5.1.1 on a old Red Hat 5,

    Qt forms work, but keyboard does not work, every application display messages coming from qtbase/src/3rdparty/xkbcommon/include.c function FindFileInXkbPath(struct xkb_context *ctx, const char *name, enum xkb_file_type type, char **pathRtrn):

    bq.
    Error: Couldn't find file "rules/.control�~" in include paths
    Error: 1 include paths searched:
    Error: /usr/share/X11/xkb
    Error: 1 include paths could not be added:
    Error: /home/b35201/.xkb
    Error: Couldn't look up rules '.control�~', model 'control�~', layout 'us', variant '(null)', options ''

    This is the content of /usr/share/X11/xkb/rules/
    @
    $ ls -la /usr/share/X11/xkb/rules/
    total 828
    drwxr-xr-x 2 root root 4096 Jan 17 2013 .
    drwxr-xr-x 10 root root 4096 Jan 17 2013 ..
    -rw-r--r-- 1 root root 37838 Aug 3 2011 base
    -rw-r--r-- 1 root root 19611 Aug 3 2011 base.lst
    -rw-r--r-- 1 root root 709688 Aug 3 2011 base.xml
    -rw-r--r-- 1 root root 91 Aug 3 2011 README
    -rw-r--r-- 1 root root 3246 Aug 3 2011 sgi
    -rw-r--r-- 1 root root 2341 Aug 3 2011 sun
    -rw-r--r-- 1 root root 781 Aug 3 2011 xfree98
    -rw-r--r-- 1 root root 840 Aug 3 2011 xkb.dtd
    lrwxrwxrwx 1 root root 4 Jan 17 2013 xorg -> base
    lrwxrwxrwx 1 root root 8 Jan 17 2013 xorg.lst -> base.lst
    lrwxrwxrwx 1 root root 8 Jan 17 2013 xorg.xml -> base.xml
    @

    Can anyone help to fix that problem?



  • Got the same problem with Qt5.2 on Debian 6



  • Same problem with Qt5.1-2 on Ubuntu 14.04 LTS



  • See https://bugreports.qt-project.org/browse/QTBUG-32760, looks like it is fixed in Qt5.3



  • Although I sign in, link doesn't work. "Project Does Not Exist"


  • Lifetime Qt Champion

    Hi,

    Remove the comma after 32760


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.