Results 1 to 6 of 6

Thread: Confusing SIGSEV

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2007
    Location
    Warsaw, Poland
    Posts
    52
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Confusing SIGSEV

    I know what is wrong.
    I create Pawn objects on stack and then I put them inside QMap<int, Pawn> what evokes copy constructor. Therefore a pointer to a pixmap points still to the QPixmap of an old temporary object that is soon destroyed.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Confusing SIGSEV

    OK then. That seems to be it.

Similar Threads

  1. Confusing in thread implementation
    By santosh.kumar in forum Qt Programming
    Replies: 0
    Last Post: 16th May 2007, 11:07

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.