本帖最后由 frank061015 于 2015-6-29 09:19 编辑
如题加上移植QT5-XINPUT2 出错,不加上能过。错误提示如下:
XInput2 auto-detection... ()
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++ -c -pipe -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=softfp -O2 -Wall -W -fPIE -I../../../mkspecs/devices/linux-imx6-g++ -I. -I/home/myzr/rootfs/usr/local/tslib-install/include -I/home/myzr/rootfs/usr/include -o xinput2.o xinput2.cpp
xinput2.cpp:42:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [xinput2.o] Error 1
XInput2 disabled.
XInput2 support cannot be enabled due to functionality tests!
CPU:IMX6
编译环境:ubuntu10.04虚拟机
QT版本:QT5.3.2
|