weston中如何使用fcitx5的问题 #742
              
                
                  
                  
                    Answered
                  
                  by
                    wengxt
                  
              
          
                  
                    
                      maxdianwei
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 我想在weston的代码中,调用fcitx5的接口输入unicode到应用中,例如wps。 | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            wengxt
          
      
      
        Mar 16, 2023 
      
    
    Replies: 1 comment 1 reply
-
| 我不太理解你的问题,这个问题和 weston 就没什么关系。首先 wps 使用 Qt,但没有带 qt wayland,所以只能用 Xwayland,用 Xwayland 就和 weston 本身关系不大了。 其次,因为是闭源软件,WPS 的 im module 是 bundle 在 wps 包当中的。所以只需要设置 QT_IM_MODULE=fcitx 来启动 wps 即可。 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        wengxt
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
我不太理解你的问题,这个问题和 weston 就没什么关系。首先 wps 使用 Qt,但没有带 qt wayland,所以只能用 Xwayland,用 Xwayland 就和 weston 本身关系不大了。
其次,因为是闭源软件,WPS 的 im module 是 bundle 在 wps 包当中的。所以只需要设置 QT_IM_MODULE=fcitx 来启动 wps 即可。