天嵌 ARM开发社区

 找回密码
 注册
楼主: TQ-lkp

TQ2440 天嵌科技屏幕输入法库使用手册

  [复制链接]
卢志勇 发表于 2013-3-11 15:39:08 | 显示全部楼层
输入中文的时候,无法输入。
卢志勇 发表于 2013-3-12 11:12:54 | 显示全部楼层
我使用4.3.3。将so文件放到特定目录。
然后在工程文件中增加:LIBS += -L.-libTQInputMethod.so
接着,我qmake MyTest.pro
qmake -o Makefile
make
运行make的时候,出现如下错误:
arm-linux-g++ -Wl,-O1 -Wl,-rpath,/opt/EmbedSky/qt-4.5/__install/arm/lib -o MyTest main.o mainwindow.o formtest.o moc_mainwindow.o moc_formtest.o moc_TQInputMethod.o    -L/opt/EmbedSky/qt-4.5/__install/arm//lib -L.-libTQInputMethod.so -lQtGui -L/tslib-1.4/lib -L/opt/EmbedSky/qt-4.5/__install/arm//lib -lts -lQtNetwork -lQtCore -lm -lrt -ldl -lpthread
moc_TQInputMethod.o: In function `TQInputMethod::qt_metacall(QMetaObject::Call, int, void**)':
moc_TQInputMethod.cpp:(.text+0x40): undefined reference to `TQInputMethod::sendContent(QString const&)'
moc_TQInputMethod.cpp:(.text+0x60): undefined reference to `TQInputMethod::confirmContent()'
moc_TQInputMethod.o:(.rodata+0x5c): undefined reference to `TQInputMethod::~TQInputMethod()'
moc_TQInputMethod.o:(.rodata+0x60): undefined reference to `TQInputMethod::~TQInputMethod()'
moc_TQInputMethod.o:(.rodata+0x8c): undefined reference to `TQInputMethod::updateHandler(int)'
collect2: ld returned 1 exit status
make: *** [MyTest] 错误 1
卢志勇 发表于 2013-3-12 11:22:19 | 显示全部楼层
你们手册写的不好。应该将必备环境搭建写在前面。
浑沌 发表于 2013-3-13 11:13:03 | 显示全部楼层
支持下,顶下
wf395962475 发表于 2013-3-13 13:39:30 | 显示全部楼层
现在沾染好需要
njdada 发表于 2013-3-13 18:54:55 | 显示全部楼层
支持一下,看看!
lkunl 发表于 2013-5-25 00:30:16 | 显示全部楼层
xiexie le:P
longjinihao 发表于 2013-5-28 08:55:20 | 显示全部楼层
太感谢了  好好学习一下
欣伊穗乐 发表于 2013-5-28 21:22:43 | 显示全部楼层
非常好非常好
Wesson 发表于 2013-5-30 08:31:42 | 显示全部楼层
下载看看看
zkf159 发表于 2013-5-30 22:23:13 | 显示全部楼层
好东西 真好需要
高山仰止 发表于 2013-6-4 21:29:35 | 显示全部楼层
好东西,强烈支持!
高山仰止 发表于 2013-6-4 22:34:08 | 显示全部楼层
测试了一下,为什么最终使用的还是V1.0的版本?将4.6.0目录下的libTQInputMethod.so替换掉 /opt/PDA/lib中的文件后,再次运行./tqinput -qws 时出现Illegal instruction错误,这是为什么??
高山仰止 发表于 2013-6-4 22:35:15 | 显示全部楼层
我使用的板子是TQ2440,使用的Qt为4.5,/opt/PDA/lib为开发板目录。
高山仰止 发表于 2013-6-4 23:06:31 | 显示全部楼层
最后发现用4.3.3是可以的,4.6.0不行,4.4.6未测。不知道行不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-8 15:20 , Processed in 1.062500 second(s), 17 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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