Cross compiling QT for ARM on Mac OS X Lion
-
I have downloaded and installed the necessary toolchain (arm-none-linux-gnueabi) to compile binaries for the mini2440 dev board. I tried to configure the QT 4.7.4 lib as follows:
@./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -opensource -no-largefile -no-accessibility -no-sql-mysql -no-sql-sqlite -no-qt3support -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -webkit -prefix /usr/local/Qt-4.7.4-ARM -qt-zlib -qt-gif -qt-libtiff -qt-libpng -no-libmng -qt-libjpeg -no-openssl -no-cups -reduce-relocations -little-endian@and get this error
@ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [/Users/valerio/QT-Projects/qt-everywhere-opensource-src-4.7.4/bin/qmake] Error 1@Note that I have successfully cross compiled QT 4.7.4 in Ubuntu linux with the same options as well as compiled QT 4.7.4 for the Mac which works wonders with QT Creator...
Is there anything I can do about it?