Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Trouble With XKB, Deploying Remotely

Trouble With XKB, Deploying Remotely

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 722 Views
  • 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.
  • T Offline
    T Offline
    tAllan
    wrote on last edited by tAllan
    #1

    I am deploying a QT 5.1.0 application on a remote cluster and having trouble getting the keyboard to work. The application is run by logging into a No Machine server, then ssh into an associated remote cluster, then run the program on the remote cluster. Also the program is compiled on the remote cluster.

    When the program is executed, I get the following Error:

    failed to add default include path /usr/share/X11/xkb
    Qt: Failed to create XKB xontext
    

    I've seen proposed solutions to the same issue, setting QT_XKB_CONFIG_ROOT. I notice that /usr/share/X11 exists, but /usr/share/X11/xkb does not (on the remote cluster). Although in the no machine server, /usr/share/X11/xkb does exist, as well as <path to NX>/X11/xkb. So I've tried setting QT_XKB_CONFIG_ROOT to include all of these paths, as well as a local copy of xkb on the cluster. However, it still doesn't work.

    Is there a workaround for this problem? For example, maybe a way to change the default include path for xkb? I know I can use the bundled xkb if I compile QT from scratch, but since I have no administrative rights, and the system already has QT installed, I'd rather find another option.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Melanie_T
      wrote on last edited by
      #2

      Just for those who stumble across this:

      This is solved by installing xkeyboard-config on the remote machine.

      1 Reply Last reply
      1

      • Login

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