In qvfb of QT, compilation fails.

Source: Internet
Author: User
In qvfb of QT, compilation cannot be successful. for details, refer to Linux general technology-Linux programming and kernel information. I am downloading the embedded QT4.8.2. At this time, the entire embedded QT has not been edited. An error occurred while compiling the tool qvfb. (As shown below)
I have queried the file. there is no extensions folder or XTest. h header file.
How can this problem be solved? Thank you!

G ++-c-pipe-O2-Wall-W-D_REENTRANT-release-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/3 rdparty/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: no file or directory
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] Error 1
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.