QT程序红帽5+scim输入法时键盘无法输入

红帽5装了SCIM输入法,运行QT程序出现:

Qt: Could not determine keyboard configuration data from X server, will use hard-coded keymap configuration.
Qt: Failed to compile a keymap!
Current XKB configuration data search paths are:
/usr/share/X11/xkb
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .
运行时无法通过键盘输入,也不能粘贴
求解决
在没有这个输入法的红帽中可以运行,键盘可以输入

http://blog.chinaunix.net/uid-25147458-id-313694.html