Good Night to you all,

I'm quite new to Qt and would be really delighted to be able to use it in some of my personal projects. I've done a fair amount of reading about the tools and means to develop using Qt by now, and by any means I will ask for somebody to solve a problem for me.

However I came across several Issues that I will now report, hoping that someone is already past them, here they are:


Beagle Board

I am trying to set Qt creator to work with a beagle board I possess, and I'm having a hard time compiling Qt-everywhere-4.7.2 for the armv7a architecture...here are the commands I`ve been trying:
configuring qt
Qt Code:
  1. ./configure -prefix /home/saul/qt-arm -embedded arm -platform /qws/linux-x86_64-g++ -xplatform /qws/linux-angstrom-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast
To copy to clipboard, switch view to plain text mode 
I'm aware I'm not enabling tslib support
the configure step goes on ok, but when I try to "make" I get:

Qt Code:
  1. In file included from ../../include/QtCore/qatomic_arm.h:1:0,
  2. from ../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:54,
  3. from ../../include/QtCore/qatomic_arch.h:1,
  4. from ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
  5. from ../../include/QtCore/qbasicatomic.h:1,
  6. from ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
  7. from ../../include/QtCore/qatomic.h:1,
  8. from ../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
  9. from ../../include/QtCore/qbytearray.h:1,
  10. from ../../include/QtCore/../../src/corelib/tools/qstring.h:46,
  11. from ../../include/QtCore/qstring.h:1,
  12. from kernel/qobject.h:48,
  13. from kernel/qobject.cpp:42:
  14. ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: In function 'void qt_removeObject(QObject*)':
  15. ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35: error: output number 1 not directly addressable
  16. make[1]: *** [.obj/release-shared-emb-arm/qobject.o] Error 1
  17. make[1]: *** Waiting for unfinished jobs....
  18. make[1]: Leaving directory `/home/saul/Downloads/qt-everywhere-opensource-src-4.7.2/src/corelib'
  19. make: *** [sub-corelib-make_default-ordered] Error 2
To copy to clipboard, switch view to plain text mode 

It was the same error with codesourcery and the angstorm-distribution toolchain... can anybody help?


here is my qmake.conf
Qt Code:
  1. #
  2. # qmake configuration for building with arm-linux-g++
  3. #
  4.  
  5. include(../../common/g++.conf)
  6. include(../../common/linux.conf)
  7. include(../../common/qws.conf)
  8.  
  9. # modifications to g++.conf
  10. QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
  11. QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
  12.  
  13. QMAKE_CC = arm-none-linux-gnueabi-gcc
  14. QMAKE_CXX = arm-none-linux-gnueabi-g++
  15. QMAKE_LINK = arm-none-linux-gnueabi-g++
  16. QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++
  17.  
  18. # modifications to linux.conf
  19.  
  20. QMAKE_AR = arm-none-linux-gnueabi-ar cqs
  21. QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy
  22. QMAKE_STRIP = arm-none-linux-gnueabi-strip
  23.  
  24.  
  25. load(qt_config)
To copy to clipboard, switch view to plain text mode