Results 1 to 2 of 2

Thread: QGraphicsScene::removeItem: item 0x8143148's scene (0x80d49d0) is different from this

  1. #1
    Join Date
    Sep 2008
    Posts
    93
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default QGraphicsScene::removeItem: item 0x8143148's scene (0x80d49d0) is different from this

    I use QGraphicsScene::addItem to add item to a scene. But when I try to remove it from the scene, I got the warning:
    QGraphicsScene::removeItem: item 0x8143148's scene (0x80d49d0) is different from this scene (0x80c91c8)

    I just created one object for the QGraphicsScenewhat is wrong?

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGraphicsScene::removeItem: item 0x8143148's scene (0x80d49d0) is different from

    Show your code.
    I'm a rebel in the S.D.G.

Similar Threads

  1. Adding item to scene
    By lni in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2009, 17:28
  2. QGraphicsView: restrict bbox of Item to bbox of scene?
    By piquadrat in forum Qt Programming
    Replies: 0
    Last Post: 2nd April 2009, 13:38
  3. View, Scene, Item and thread??
    By dungsivn in forum Qt Programming
    Replies: 5
    Last Post: 20th August 2008, 19:21
  4. Graphics View - Scene & Item hierarchy
    By mooreaa in forum Qt Programming
    Replies: 0
    Last Post: 29th June 2008, 23:49
  5. Replies: 1
    Last Post: 26th September 2006, 05:38

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.