Hello!

I've been building Qt-embedded for quite some time now using (arm-none-linux-gnueabi), but this time around I was faced with a nasty error when I tried to build Qt using the Raspberry Pi toolchain (armv6j-hardfloat-linux-gnueabi-), and I'd appreciate your help and insight on it. Steps taken:

changing
Qt Code:
  1. cat mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf
  2. #
  3. # qmake configuration for building with arm-none-linux-gnueabi-g++
  4. #
  5.  
  6. include(../../common/linux.conf)
  7. include(../../common/gcc-base-unix.conf)
  8. include(../../common/g++-unix.conf)
  9. include(../../common/qws.conf)
  10.  
  11. # modifications to g++.conf
  12. QMAKE_CC = armv6j-hardfloat-linux-gnueabi-gcc
  13. QMAKE_CXX = armv6j-hardfloat-linux-gnueabi-g++
  14. QMAKE_LINK = armv6j-hardfloat-linux-gnueabi-g++
  15. QMAKE_LINK_SHLIB = armv6j-hardfloat-linux-gnueabi-g++
  16.  
  17. # modifications to linux.conf
  18. QMAKE_AR = armv6j-hardfloat-linux-gnueabi-ar cqs
  19. QMAKE_OBJCOPY = armv6j-hardfloat-linux-gnueabi-objcopy
  20. QMAKE_STRIP = armv6j-hardfloat-linux-gnueabi-strip
  21.  
  22. load(qt_config)
To copy to clipboard, switch view to plain text mode 

and here's the config options:

Qt Code:
  1. ./configure -prefix /usr/local/Trolltech/QtEmbedded-4.8.3-arm -embedded arm -release -opensource -qvfb -xplatform qws/linux-arm-gnueabi-g++ -nomake examples -nomake demos -no-qt3support -qt-gfx-linuxfb -qt-gfx-vnc -no-largefile -exceptions -no-accessibility -no-qt3support -no-sse2 -qt-zlib -no-gif -no-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-nis -no-cups -qt-kbd-qvfb -qt-mouse-qvfb -qt-mouse-pc -depths 16,32 -qt-kbd-linuxinput -qt-mouse-linuxinput
To copy to clipboard, switch view to plain text mode 

Finally here's the error:

Qt Code:
  1. gmake[1]: Entering directory `/home/pluvius/src/4.8.3-arm/qt-everywhere-opensource-src-4.8.3/src/corelib'
  2. /home/pluvius/src/4.8.3-arm/qt-everywhere-opensource-src-4.8.3/bin/moc -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -I../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm codecs/qtextcodecplugin.h -o .moc/release-shared-emb-arm/moc_qtextcodecplugin.cpp
  3. QFSFileEngine::currentPath: stat(".") failed
  4. QFSFileEngine::currentPath: stat(".") failed
  5. codecs/qtextcodecplugin.h:73: Error: Undefined interface
  6. gmake[1]: *** [.moc/release-shared-emb-arm/moc_qtextcodecplugin.cpp] Error 1
  7. gmake[1]: Leaving directory `/home/pluvius/src/4.8.3-arm/qt-everywhere-opensource-src-4.8.3/src/corelib'
  8. gmake: *** [sub-corelib-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode 

I'd appreciate some help here, thank you