Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48794

Workaround for Qt 5.2.1 lack of keyboard entry on Linux from a ssh -X session from Mac XQuartz

XMLWordPrintable

    • macOS

      As is well known (I think) – if you have a compiled Qt program (ours is on Qt 5.2.1) running on linux (ours is Centos 6.6) and a user uses XQuery from Mac OS X and does an ssh -X to the Linux machine, the Qt application runs with two errors: Error: Failed to compile xkb_symbols
      Error: Failed to compile keymap

      But no keyboard input is possible. QTBUG-32760 is most relevant.

      This appears to be fixed in QT 5.3 (and beyond) if using certain configuration options. That's nice. However, for this legacy application I was wondering if back in the Qt 5.2.1. days if there was ANY sort of reasonable work around to get the keyboard to work until / when the application is re-compiled with QT 5.3?

      Maybe setting some of the XKB_ envars first? If so, what's appropriate for a MAC keyboard? Even compiling a new Mac xkb type file or something first then using a xsetxkbmap or whatever?

      Anyway, many of our users are getting frustrated by this ... so I was hoping there was a quick "fix" / workaround to solve their needs from paeglis who seems to know this stuff inside and out.

      I did verify that this version of XQuery DOES support XKEYBOARD option, but that doesn't seem to help.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            paeglis Gatis Paeglis
            sjmcdowall Steven McDowall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes