Results 1 to 2 of 2

Thread: Embedded ARM Seg Faults Adding Widget to Layout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    10
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy Embedded ARM Seg Faults Adding Widget to Layout

    Hi All,

    I am working with Qt Embedded 4.5.3, cross compiled under Ubuntu for an ARM9 target platform.

    I am receiving SIGSEVG on QApplication.exec(), and have traced it back to a call from the main window (which happens to be a QWidget) on ui->layout->addWidget(widget). The layout on the designer-generated widget is a QVBoxLayout, and "widget" is a custom QWidget.

    The closest I'm getting to any reason to this behavior is a HUGE (screens and screens full) spam of "QLine::unitVector: New line does not have unit length," followed by an "ASSERT: "t >= 0" in file painting/qbezier_p.h." Unfortunately I don't know where to go from there.

    As a side note, the same code does run as intended on Ubuntu and OS X, so I'm a bit at a loss...

    Thanks in advance.
    Last edited by flob; 16th December 2009 at 20:21.

Similar Threads

  1. Embedded Widget events question
    By MarkoSan in forum Qt Programming
    Replies: 13
    Last Post: 23rd November 2009, 23:41
  2. Problem setting central Widget layout
    By frenk_castle in forum Newbie
    Replies: 2
    Last Post: 26th September 2009, 16:43
  3. changing layout of a widget
    By mikro in forum Qt Programming
    Replies: 10
    Last Post: 4th August 2009, 20:21
  4. QScrollArea: clearing the layout of the inner widget
    By mattc in forum Qt Programming
    Replies: 1
    Last Post: 3rd August 2009, 08:09
  5. Resize widget force layout resizing
    By ^NyAw^ in forum Qt Programming
    Replies: 17
    Last Post: 11th February 2009, 11:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.