天嵌 ARM开发社区

 找回密码
 注册
查看: 6240|回复: 12

qt4.5输入法

[复制链接]
vvb9137 发表于 2012-3-2 11:34:17 | 显示全部楼层 |阅读模式
论坛里下载了天嵌的输入法  可是老是移植不成功!!请问怎么回事呢?

按输入法那个手册里做的,出现错误提示:
In file included from main.cpp:2:
tqinput.h:5:20: error: QLineEdit: No such file or directory
tqinput.h:6:22: error: QPushButton: No such file or directory
In file included from tqinput.h:7,
                 from main.cpp:2:
TQInputMethod.h:6:26: error: QWSInputMethod: No such file or directory
In file included from tqinput.h:7,
                 from main.cpp:2:
TQInputMethod.h:10: error: expected class-name before ‘{’ token
In file included from main.cpp:2:
tqinput.h:25: error: ISO C++ forbids declaration of ‘QWSInputMethod’ with no type
tqinput.h:25: error: expected ‘;’ before ‘*’ token
make: *** [main.o] Error 1

按Qt手册做出现下面错误
main.o: In function `main':
main.cpp:(.text+0x34): undefined reference to `tqInputMethod::tqInputMethod(QWidget*)'
main.cpp:(.text+0x4c): undefined reference to `tqInputMethod::~tqInputMethod()'
main.cpp:(.text+0x84): undefined reference to `tqInputMethod::~tqInputMethod()'
collect2: ld returned 1 exit status
make: *** [tqinput] Error 1

具体步骤是怎样的呀?   
 楼主| vvb9137 发表于 2012-3-2 19:01:00 | 显示全部楼层
可以了   不过运行不正常   空格键那一整行都没有显示,请问这又是怎么回事呢??我的是TQ2440开发板!可以用吗?
xuganglimin 发表于 2012-7-13 15:16:56 | 显示全部楼层
不知仁兄,出现也是,键盘最底部一行(拼音、英文、空格键、左移。。。。)这一行都没显示出来,最上面一行只显示输入法,也没“天嵌科技输入法V1.0”字样?
怎么才能使用拼音呢?
麻烦版主赐教!!TQ2440开发板  
wenxinhua 发表于 2012-7-19 16:52:02 | 显示全部楼层
我的也是,强烈反抗阿
ww110052181 发表于 2012-7-19 17:53:16 | 显示全部楼层
:(:(:(:(:(:D
二进制 发表于 2012-8-10 14:49:08 | 显示全部楼层
我的也是啊,:(:(:(:(
卡卡西莫多 发表于 2012-11-1 16:15:14 | 显示全部楼层
为什么没人回答呢,明明那个输入法版主写的是给2440的!
卡卡西莫多 发表于 2012-11-1 21:00:08 | 显示全部楼层
vvb9137 发表于 2012-3-2 19:01
可以了   不过运行不正常   空格键那一整行都没有显示,请问这又是怎么回事呢??我的是TQ2440开发板!可以 ...

你怎么解决的?我一直移植不成功
卡卡西莫多 发表于 2012-11-2 09:15:32 | 显示全部楼层
vvb9137 发表于 2012-3-2 19:01
可以了   不过运行不正常   空格键那一整行都没有显示,请问这又是怎么回事呢??我的是TQ2440开发板!可以 ...

帮我一下,你那些错误时怎么解决的?
请叫我不良 发表于 2012-11-17 21:53:35 | 显示全部楼层
vvb9137 发表于 2012-3-2 19:01
可以了   不过运行不正常   空格键那一整行都没有显示,请问这又是怎么回事呢??我的是TQ2440开发板!可以 ...

兄弟,一样的问题,解决了吗?
卢志勇 发表于 2013-3-12 10:37:12 | 显示全部楼层
LIBS += -L.-libTQInputMethod.so
这里要这样写。测试例子和手册中写的是错误。
卢志勇 发表于 2013-3-12 10:38:14 | 显示全部楼层
/root/WorkDir/Software/MyTest/debug/moc_TQInputMethod.cpp:50: 错误:undefined reference to `TQInputMethod::sendContent(QString const&)'
tiyan 发表于 2014-3-19 08:41:36 | 显示全部楼层
显示没问题就是无法将文字输入到文本框中
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 06:28 , Processed in 1.039102 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表