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. QT GUI errors when input is added to textEdit
Forum Updated to NodeBB v4.3 + New Features

QT GUI errors when input is added to textEdit

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 406 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.
  • W Offline
    W Offline
    worldsnexthero
    wrote on last edited by worldsnexthero
    #1

    QT GUI now opens up successfully and lineEdit slots are filled in if programmed by python code however if I, myself, enter any value within a lineEdit slot of the GUI, the GUI exits on its own with following error:

    python3.7: relocation error: /localhome/lab/FaizanEnv/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so: symbol xkb_compose_table_new_from_locale, version V_0.5.0 not defined in file libxkbcommon.so.0 with link time reference
    
    
    1 Reply Last reply
    0
    • W Offline
      W Offline
      worldsnexthero
      wrote on last edited by
      #2

      Solution:

      PyQt5 (latest version 5.15 which deb 8 installs automatically) is not compatible with libxkbcommon versions < 0.5.0. Deb 8 installs 0.4.3 version of libxkbcommon.

      Rather than manually building the upgraded version of libxkbcommon ( and potentially breaking other stuff) I downgraded the PyQt5 version on debian 8 via command:

      pip install pyqt5==0.5.12.3
      

      Versions 0.5.13 and higher show the same error from original message. 0.5.12.3 is the most upgraded version without this issue.

      This fixed the problem!

      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