Results 1 to 6 of 6

Thread: Program crashes when adding QGraphicsEllipseItem to the scene

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2019
    Posts
    22
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Unhappy Program crashes when adding QGraphicsEllipseItem to the scene

    Hello !!
    I'm making a Four In a Row kinda game and i have problem spawning circles. When i press space i create an ellipse but when i try to add the thing to the scene my program just crashes...

    This is Player.cpp where an object ( circle ) is created.


    This is Zeton.cpp


    This are Player's and Zeton's header files


    Game.cpp file


    Game.h file
    sf4.jpg


    Any help is appreciated !!!
    Last edited by MongKong; 2nd April 2019 at 20:33.

Similar Threads

  1. Not able to move QGraphicsEllipseItem on the scene
    By alex.agape94 in forum Qt Programming
    Replies: 3
    Last Post: 7th September 2017, 08:14
  2. Program crashes
    By Fallen_ in forum Qt Programming
    Replies: 49
    Last Post: 20th September 2010, 01:41
  3. Application crashes after adding a new class
    By wallace_000 in forum Newbie
    Replies: 1
    Last Post: 19th March 2010, 19:42
  4. adding QPixmap to scene
    By rogerholmes in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2009, 05:45
  5. Adding item to scene
    By lni in forum Qt Programming
    Replies: 0
    Last Post: 21st April 2009, 17:28

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.