Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Qt5 application with root access cannot work #25

Closed
allencch opened this issue Oct 5, 2017 · 1 comment
Closed

Qt5 application with root access cannot work #25

allencch opened this issue Oct 5, 2017 · 1 comment

Comments

@allencch
Copy link

allencch commented Oct 5, 2017

In some condition, I have to run qt5 application with sudo/root. I have added

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XMODIFIERS=@im=fcitx

to the environment variable. And checked can work with GTK application and QT4 application but not working in QT5.

Steps to reproduce

  1. Use the environment variables above, either normal user or root, run a Qt5 application such as QtDesigner 5.

Installed software

I have installed:
fcitx-qt5 1.1.1
fcitx-qt4 4.2.9.4
fcitx-gtk3 4.2.9.4
fcitx-gtk2 4.2.9.4
fcitx 4.2.9.4

@wengxt
Copy link
Member

wengxt commented Oct 5, 2017

Qt 5 doesn't support xim.

@wengxt wengxt closed this as completed Oct 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants