红联Linux门户
Linux帮助

QT的qvfb中编译中不能成功编译

发布时间:2012-07-26 10:53:17来源:红联作者:ouzuguo
我在下载的嵌入式QT4.8.2。此时还没有编辑整个嵌入式QT。编译的工具中qvfb出错。(如下)
我查询了,没有extensions文件夹,也没有XTest.h头文件。
请问此问题如何解决?谢谢!

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_QWS_SIGNALHANDLER -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../../src/gui/embedded -I../../src/3rdparty/libpng -I../../include/QtCore -I../shared/deviceskin -I/usr/X11R6/include -I. -I/usr/X11R6/include -I. -o x11keyfaker.o x11keyfaker.cpp
x11keyfaker.cpp:48:34: error: X11/extensions/XTest.h: 没有那个文件或目录
x11keyfaker.cpp: In member function ‘void X11KeyFaker::sendKeyEvent(int, bool)’:
x11keyfaker.cpp:449: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:452: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:456: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:459: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:464: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp: In member function ‘void X11KeyFaker::connect()’:
x11keyfaker.cpp:550: error: ‘XTestQueryExtension’ was not declared in this scope
make: *** [x11keyfaker.o] 错误 1
文章评论

共有 1 条评论

  1. ouzuguo 于 2012-08-10 09:50:02发表:

    没解决自己顶