QT && AVR32 embedded
-
Hi all,
I'm developing a qt application for the NGW100 board (http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4102).I compiled successfully QT 4.5.3 and 4.6.2 but only 4.5.3 works fine in the board.
The compiler I used is buildroot-avr32-v2.3.0 and I compiled both qt version with the same command:
first I edited mkspecs/qws/linux-avr32-g++/qmake.conf with
@
include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)modifications to g++.conf
QMAKE_CC = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-gcc
QMAKE_CXX = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-g++
QMAKE_LINK = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-g++
QMAKE_LINK_SHLIB = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-g++modifications to linux.conf
QMAKE_AR = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-ar cqs
QMAKE_OBJCOPY = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-objcopy
QMAKE_STRIP = /home/luca/DATI/packages/buildroot-avr32-v2.3.0/build_avr32/staging_dir/bin/avr32-linux-strip
load(qt_config)
@then:
@
./configure -embedded avr32 -xplatform qws/linux-avr32-g++ -opensource -confirm-license -no-qt3support -depths 24 -qt-gfx-linuxfb -release -big-endian -no-gif -no-libmng -no-zlib -no-libjpeg -no-libpng -no-libtiff -no-freetype -no-openssl -no-phonon -no-svg -no-webkit -no-stl -no-xinerama -no-cups -no-nis -no-accessibility -no-separate-debug-info -no-rpath -nomake examples -nomake demos -qt-sql-sqlite -static
@All compile without problem but when I execute my application in the NGW100 I get a segmentation fault with QT 4.6.2 .
Are you experienced with this problem?
-
Hi!
Try 4.6.3, Nokia fixed the problem. It's related to uclibc and realpath.
Have a look at
http://bugreports.qt.nokia.com/browse/QTBUG-8365
http://bugreports.qt.nokia.com/browse/QTBUG-11161
http://tecbites.blogspot.com/2009/12/qt-460-on-avr32-and-its-bugs-error.html
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=709510#709510 -
[quote author="sbrandt" date="1276623846"]Hi!
Try 4.6.3, Nokia fixed the problem. It's related to uclibc and realpath.
Have a look at
http://bugreports.qt.nokia.com/browse/QTBUG-8365
http://bugreports.qt.nokia.com/browse/QTBUG-11161
http://tecbites.blogspot.com/2009/12/qt-460-on-avr32-and-its-bugs-error.html
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=709510#709510[/quote]
Thanks, I'll try tomorrow...