|
论坛里下载了天嵌的输入法 可是老是移植不成功!!请问怎么回事呢?
按输入法那个手册里做的,出现错误提示:
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
具体步骤是怎样的呀? |
|