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. not connect "org.freedesktop.IBus"
Forum Updated to NodeBB v4.3 + New Features

not connect "org.freedesktop.IBus"

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 3.3k 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.
  • Y Offline
    Y Offline
    yugong0216
    wrote on last edited by
    #1

    I have installed Ubuntu 22.04 on vmware workstation, and then I installed the latest version of Qt 6.5. However, when I try to run a simple QML program, I get an error. I didn't have this issue before when I used Qt 15.5.2. Can anyone help me with this?
    erros is :
    qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)![alt text微信截图_20230411224141.png

    JoeCFDJ 2 Replies Last reply
    0
    • Y yugong0216

      I have installed Ubuntu 22.04 on vmware workstation, and then I installed the latest version of Qt 6.5. However, when I try to run a simple QML program, I get an error. I didn't have this issue before when I used Qt 15.5.2. Can anyone help me with this?
      erros is :
      qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)![alt text微信截图_20230411224141.png

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      @yugong0216 said in not connect "org.freedesktop.IBus":

      qt.dbus.integration: Could not connect "org.freedesktop.IBus"

      ====================from ChatGPT==============================

      The error message "qt.dbus.integration: Could not connect 'org.freedesktop.IBus'"
      typically indicates that there is a problem with the D-Bus communication between the
      Qt application and the IBus input method framework.

      D-Bus is a message bus system that allows different processes to communicate with
      each other on the same machine. IBus is a popular input method framework used on
      Linux systems to support multiple input methods and languages.

      Here are some steps you can take to troubleshoot the issue:

      Check if IBus is running: Open a terminal window and run the command ibus-
      

      daemon -drx. This will start the IBus daemon if it's not already running.

      Check if the IBus D-Bus service is running: Run the command dbus-send --print-
      

      reply --dest=org.freedesktop.IBus /org/freedesktop/IBus
      org.freedesktop.DBus.Introspectable.Introspect to check if the IBus D-Bus service is
      running and responding to D-Bus requests.

      Check if the QT_IM_MODULE environment variable is set: Make sure that the 
      

      QT_IM_MODULE environment variable is set to ibus. You can check this by running the
      command echo $QT_IM_MODULE. If it's not set, you can set it by running the
      command export QT_IM_MODULE=ibus.

      Restart the Qt application: Sometimes, restarting the Qt application can resolve 
      

      D-Bus communication issues.

      Check for other errors: Check the system logs (/var/log/syslog on Ubuntu) for any 
      

      other error messages related to D-Bus or IBus. This may give you more information on
      what's causing the issue.

      If none of these steps resolve the issue, you may need to seek further assistance from
      the Qt or IBus communities.

      1 Reply Last reply
      0
      • Y yugong0216

        I have installed Ubuntu 22.04 on vmware workstation, and then I installed the latest version of Qt 6.5. However, when I try to run a simple QML program, I get an error. I didn't have this issue before when I used Qt 15.5.2. Can anyone help me with this?
        erros is :
        qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)![alt text微信截图_20230411224141.png

        JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #3

        @yugong0216 I just tried Qt 6.5 on Ubuntu 22.04(not a virtual machine) and the examples work fine. Could be a virtual machine issue.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Aquiles Tandaypan
          wrote on last edited by
          #4

          Para el problema:
          qt.dbus.integration: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)

          La solución es ejecutar en la consola: pkill ibus-x11

          Explicación (ChatGPT)
          También puede intentar matar cualquier proceso ibus en ejecución con pkill ibus-x11 y luego iniciar ibus nuevamente con /usr/bin/ibus-daemon --daemonize --xim3.

          Pero en mi caso, para linux mint, Qt6, si inicio ibus, aparece elproblema.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            chris_m
            wrote on last edited by
            #5

            QtBase fix:
            https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9d031caf09b2c14328268ef0e871efd30e80eab2

            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