Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT && AVR32 embedded
QtWS25 Last Chance

QT && AVR32 embedded

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 7.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • O Offline
      O Offline
      ogoffart
      wrote on last edited by
      #2

      Do you have the backtrace?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luca
        wrote on last edited by
        #3

        No, I haven't. But I didn't found in internet someone that used 4.6 with my board so I think it a toolchain problem: The board use buildroot-2.3.0 so it's probably too old for the new qt.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sbrandt
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • L Offline
            L Offline
            luca
            wrote on last edited by
            #5

            [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...

            1 Reply Last reply
            0
            • L Offline
              L Offline
              luca
              wrote on last edited by
              #6

              YES, now it works.

              The problem has been solved.

              Thanks!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved