Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Qt 5.1.1 problem in xkbcommon, keyboard does not work

    General and Desktop
    4
    6
    2826
    Loading More Posts
    • 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
      cmazieri last edited by

      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 Reply Quote 0
      • P
        pyl0420 last edited by

        Got the same problem with Qt5.2 on Debian 6

        1 Reply Last reply Reply Quote 0
        • A
          alextro last edited by

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

          1 Reply Last reply Reply Quote 0
          • P
            pyl0420 last edited by

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

            1 Reply Last reply Reply Quote 0
            • A
              alextro last edited by

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

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • First post
                  Last post