天嵌 ARM开发社区

 找回密码
 注册
查看: 1864|回复: 3

天嵌提供的输入法,编译时出现错误

[复制链接]
卡卡西莫多 发表于 2012-11-1 19:52:57 | 显示全部楼层 |阅读模式
我就重新编译了一遍,没改动,就出现以下错误,我把输入法移植到我自己的程序里边也是
tqInputMethod::tqInputMethod(QWidget*)':
tqinput.cpp:(.text+0x3b8): undefined reference to `TQInputMethod::TQInputMethod()'
tqinput.cpp:(.text+0x410): undefined reference to `TQInputMethod::setVisible(bool)'
moc_TQInputMethod.o: In function `TQInputMethod::qt_metacall(QMetaObject::Call, int, void**)':
moc_TQInputMethod.cpp:(.text+0xc0): undefined reference to `TQInputMethod::sendContent(QString const&)'
moc_TQInputMethod.cpp:(.text+0xcc): undefined reference to `TQInputMethod::confirmContent()'
moc_TQInputMethod.o:(.rodata+0x24): undefined reference to `TQInputMethod::~TQInputMethod()'
moc_TQInputMethod.o:(.rodata+0x28): undefined reference to `TQInputMethod::~TQInputMethod()'
moc_TQInputMethod.o:(.rodata+0x54): undefined reference to `TQInputMethod::updateHandler(int)'
collect2: ld returned 1 exit status

这个怎么处理啊,根本搜索不到!
 楼主| 卡卡西莫多 发表于 2012-11-2 09:31:03 | 显示全部楼层
来人啊!啊啊
寻梦的感觉 发表于 2013-7-11 17:41:01 | 显示全部楼层
本帖最后由 寻梦的感觉 于 2013-7-11 17:42 编辑

对啊,我也遇到一样的问题!你的解决了吗?
寻梦的感觉 发表于 2013-7-12 11:43:36 | 显示全部楼层
我的问题解决了,按照天嵌的手册来做是没问题的,只是之前我在工程文件中“LIBS += -L. –lTQInputMethod” 写成了“LIBS += -L.-lTQInputMethod” -L.与-l之间少了个空格符。改正之后楼主所述问题消失。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-9-29 07:03 , Processed in 1.032161 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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