Qt5 + ibus integration problem.



  • Hello everyone,

    I have problem with Qt5 + ibus integration. I configured ibus in and it works fine with the system application like gedit, console etc. But I could not make it work with my Qt5 application.

    I added the following line to .bashrc

    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus

    Do you have any suggestion ?

    System :
    CentOS 7, Xfce, Qt 5.4.2



  • well, I have solved my problem for future reference I would like to share the solution.

    The solution is so simple;
    You should run your application with the user that you started ibus-setup / ibus-dameon. For example, if you launch ibus with user A, then only application run with user A will respond by ibus. If your application is running as root, you need to start ibus with root user.

    That's how I solve the problem.

    I am sure there is some reason behind this issue but right now I don't have time to deep in.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.