Set up of Qt/Embedded 4.5 on ubuntu 9.04----2

参看本人的这篇文字,可以成功编译,得到三个编译环境,x86的嵌入式环境,pc环境 , arm嵌入式到环境。但是到编译x86 的qvfb的时候出现错误
x11keyfaker.cpp:47:34: error: X11/extensions/XTest.h: 没有那个文件或目录
x11keyfaker.cpp: In member function ‘void X11KeyFaker::sendKeyEvent(int, bool)’:
x11keyfaker.cpp:448: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:451: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:455: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:458: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:463: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp: In member function ‘void X11KeyFaker::connect()’:
x11keyfaker.cpp:549: error: ‘XTestQueryExtension’ was not declared in this scope
make: *** [.obj/release-shared/x11keyfaker.o] 错误 1
解决办法:sudo apt-get install xorg-dev
运行列子:

下一步,移植到2440上,今天喝了些酒,就到这里,明天继续。

你可能感兴趣的:(Set up of Qt/Embedded 4.5 on ubuntu 9.04----2)