Dear All,
While cross compiling the Qt 4.8 for arm with following command,
./configure -embedded arm -xplatform linux-mxc-g++ -release -prefix /usr/local/Qt-4.8.5/ -opengl es2 -glib -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-linuxinput -qt-mouse-tslib -little-endian -qt-gfx-linuxfb -host-little-endian -v -opensource -force-pkg-config -no-phonon
i got the following response and error,
Do you accept the terms of either license? yes
Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/home/pt6/qt-everywhere-opensource-src-4.8.5/include -I/home/pt6/qt-everywhere-opensource-src-4.8.5/include/QtCore -I/home/pt6/qt-everywhere-opensource-src-4.8.5/src/corelib/global -I/home/pt6/qt-everywhere-opensource-src-4.8.5/src/corelib/xml -I/home/pt6/qt-everywhere-opensource-src-4.8.5/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/pt6/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp
g++: error trying to exec 'cc1plus': execvp: No such file or directory
make: *** [project.o] Error 1
I donno where i went wrong ,
cross compile directory-/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin
and it contains,
arm-fsl-linux-gnueabi-gcc
arm-fsl-linux-gnueabi-g++
arm-fsl-linux-gnueabi-ar
arm-fsl-linux-gnueabi-objcopy
arm-fsl-linux-gnueabi-strip
ltib rootfs directory-/home/pt6/L2.6.35_10.11.01_ER_source_bundle/L2.6.35_10.11.01_ER_source/ltib/rootfs
Qt open source directory-/home/pt6/qt-everywhere-opensource-src-4.8.5
mkspecs directory-/home/pt6/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-mxc-g++/
and here by attached the qmake.conf file ,
https://dl.dropboxusercontent.com/u/12382973/qmake.conf [dl.dropboxusercontent.com]
what is the mistake i have done?
↧