root@ubuntu :/home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt_dm365/qt-everywhere-opensource-src-4.8.6# ./configure -prefix /opt/qt-embedded -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-dm365-g++ -depths 16,24,32 -no-cups -no-largefile -no-accessibility -no-openssl -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib Which edition of Qt do you want to use ? Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. o
This is the Qt for Embedded Linux Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes Creating qmake. Please wait... make: Nothing to be done for `first'. You have not explicitly asked to use pkg-config and are cross-compiling. pkg-config will not be used to automatically query cflag/lib parameters for dependencies The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt_dm365/qt-everywhere-opensource-src-4.8.6/mkspecs//qws/linux-dm365-g++. root@ubuntu :/home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt_dm365/qt-everywhere-opensource-src-4.8.6# ./configure -prefix /opt/qt-embedded -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-dm365-g++ -depths 16,24,32 -no-cups -no-largefile -no-accessibility -no-openssl -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib -force-pkg-config Which edition of Qt do you want to use ? Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. o
This is the Qt for Embedded Linux Open Source Edition. You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3. Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes Creating qmake. Please wait... make: Nothing to be done for `first'. You have asked to use pkg-config and are cross-compiling. Please make sure you have a correctly set-up pkg-config environment!
Warning: PKG_CONFIG_PATH has not been set. This could mean the host compiler's .pc files will be used. This is probably not what you want. The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt_dm365/qt-everywhere-opensource-src-4.8.6/mkspecs//qws/linux-dm365-g++. root@ubuntu :/home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt_dm365/qt-everywhere-opensource-src-4.8.6#
其中qt-everywhere-opensource-src-4.8.6/mkspecs//qws/linux-dm365-g++/qmake.conf内容如下: # # qmake configuration for building with arm-linux-g++ # include(../../common/linux.conf) include(../../common/gcc-base-unix.conf) include(../../common/g++-unix.conf) include(../../common/qws.conf) # modifications to g++.conf QMAKE_CC = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-gcc QMAKE_CXX = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-g++ QMAKE_LINK = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-g++ QMAKE_LINK_SHLIB = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-g++ #modifications to include ts-lib QMAKE_INCDIR = /usr/local/Trolltech/include QMAKE_LIBDIR = /usr/local/Trolltech/lib # modifications to linux.conf QMAKE_AR = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-ar cqs QMAKE_OBJCOPY = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-objcopy QMAKE_STRIP = /opt/arm-2009q1-203/bin/arm-none-linux-gnueabi-strip load(qt_config)
其中tslib已经编译好,放在: root@ubuntu :/usr/local/Trolltech# ls bin etc include lib QtEm-4.7.2-arm
root@ubuntu :/home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt-everywhere-opensource-src-4.6.0# ./configure -prefix /opt/qt-embedded -embedded arm -platform /qws/linux-x86-g++ -xplatform /qws/linux-dm365-g++ -depths 16,24,32 -no-cups -no-largefile -no-accessibility -no-openssl -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -qt-mouse-tslib -I /usr/local/Trolltech/include -L /usr/local/Trolltech/lib Which edition of Qt do you want to use ?
Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition.
o
You have not explicitly asked to use pkg-config and are cross-compiling. pkg-config will not be used to automatically query cflag/lib parameters for dependencies
This is the Qt for Embedded Linux Open Source Edition.
You are licensed to use this software under the terms of the Lesser GNU General Public License (LGPL) versions 2.1. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 3.
Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer.
Do you accept the terms of either license? yes
Creating qmake. Please wait... make: Nothing to be done for `first'. The tslib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR and QMAKE_LIBDIR in /home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt-everywhere-opensource-src-4.6.0/mkspecs//qws/linux-dm365-g++. root@ubuntu :/home/qxd/dm365/dvsdk_dm365_4_02_00_06/QT/qt-everywhere-opensource-src-4.6.0#