Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.1.1 problem in xkbcommon, keyboard does not work
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1.1 problem in xkbcommon, keyboard does not work

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cmazieri
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pyl0420
      wrote on last edited by
      #2

      Got the same problem with Qt5.2 on Debian 6

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alextro
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pyl0420
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alextro
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Remove the comma after 32760

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved