Qt && BeagleBoard
-
Hi:
I get an image of Angstrom from Narnussis, which contains the tool chain. Now, I want to cross compile the Qt X11 with the tool chain.My qws/linux-arm-g++/qmake.conf file like this:
qmake configuration for building with arm-linux-g++
QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASEinclude(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)modifications to g++.conf
QMAKE_CC = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-gcc
QMAKE_CXX = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-g++
QMAKE_LINK = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-g++
QMAKE_LINK_SHLIB = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-g++modifications to linux.conf
QMAKE_AR = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-objcopy
QMAKE_STRIP = /home/shihaoliu/projects/Angstrom/usr/bin/arm-angstrom-linux-gnueabi-stripload(qt_config)
I get the messages: Basic XLib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in mkspecs/qws/linux-arm-g++.Could you give me some advice to solve this problem?
Thanks a lot.Shihao Liu