[Qt-embedded-interest] cross compile qt-x11-opensource-src-4.5.0 for omp3 target have error
Suk Zhong
sukmaillist at gmail.com
Tue Mar 10 08:43:09 CET 2009
Hi All:
i'm working for cross compile qt-x11-opensource-src-4.5.0 for omp3
target, use the arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu
toolchain, and change the qws/linux-arm-g++/qmake.conf etc.
then run the configure.
./configure -embedded arm -xplatform qws/linux-arm-g++ -arch arm\
-L/home/suk/oe/tmp/staging/armv7a-angstrom-linux-gnueabi/lib \
-I/home/suk/oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
it can compile qmake and make Makefile correctly, but after run
gmake.it maybe have error, the following is
cd src/tools/bootstrap/ && gmake -f Makefile
gmake[1]: Entering directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/bootstrap'
gmake[1]: Nothing to be done for `first'.
gmake[1]: Leaving directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/bootstrap'
cd src/tools/moc/ && gmake -f Makefile
gmake[1]: Entering directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/moc'
gmake[1]: Nothing to be done for `first'.
gmake[1]: Leaving directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/moc'
cd src/tools/rcc/ && gmake -f Makefile
gmake[1]: Entering directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/rcc'
gmake[1]: Nothing to be done for `first'.
gmake[1]: Leaving directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/rcc'
cd src/tools/uic/ && gmake -f Makefile
gmake[1]: Entering directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/uic'
gmake[1]: Nothing to be done for `first'.
gmake[1]: Leaving directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/tools/uic'
cd src/corelib/ && gmake -f Makefile
gmake[1]: Entering directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/corelib'
/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/bin/moc
-DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include
-I../../include/QtCore -I.rcc/release-shared -Iconcurrent -Iglobal
-I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I.moc/release-shared
-I.uic/release-shared codecs/qtextcodecplugin.h -o
.moc/release-shared/moc_qtextcodecplugin.cpp
QDir::currentPath: stat(".") failed
QDir::currentPath: stat(".") failed
QDir::currentPath: stat(".") failed
codecs/qtextcodecplugin.h:73: Error: Undefined interface
gmake[1]: *** [.moc/release-shared/moc_qtextcodecplugin.cpp] 错误 1
gmake[1]: Leaving directory
`/home/zhongxs/omp3/qt-x11-arm/qt-x11-opensource-src-4.5.0/src/corelib'
gmake: *** [sub-corelib-make_default-ordered] 错误 2
why moc should call QDir::currentPath???
i've been blocked by this for somedays, someone can give me some ideas.i'll
apperiate for it.
Best Regards.
Suk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20090310/67b71e60/attachment.html
More information about the Qt-embedded-interest
mailing list