Results 1 to 2 of 2

Thread: Qt application quit menu stops painting QGraphicsView content on Mac OS

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Location
    India.
    Posts
    88
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt application quit menu stops painting QGraphicsView content on Mac OS

    Dear All,
    I am using Qt 4.7.3 and in my application when I select "Quit" option from application menu on Mac OS, application shows moddl dialog (handled closeEvent of QMainWindow) for session save, at this time the QGraphicsView in application windows stop painting its content (QPushButton added as widget in QgraphicsView).

    This use case is working fine on windows , no painting issue.

    Event if I select close button on top left section of window its working fine, no painting issue but clicking close button and clicking quit menu item has different call stack internally that might be the cause.

    Please help, if anyone has any idea.

    Thanks,

  2. #2
    Join Date
    Apr 2012
    Location
    India.
    Posts
    88
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt application quit menu stops painting QGraphicsView content on Mac OS

    For the mentioned issue, I added some log entries in the code and from it I found that clicking "Quit" menu item makes QGraphicsView widgets either disable/invisible, can anybody tell me the reason behind it and how to avoid it.

    This is on Mac OS only.

    Thanks,

Similar Threads

  1. Qt start new application and quit
    By TheQuake in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2015, 09:22
  2. Correct way to quit a console application
    By c1223 in forum Qt Programming
    Replies: 4
    Last Post: 22nd November 2014, 20:51
  3. Replies: 1
    Last Post: 28th July 2011, 10:10
  4. Application stops working unexpectedly
    By baluk in forum Newbie
    Replies: 16
    Last Post: 20th November 2010, 16:06
  5. Why my application quit?
    By yxtx1984 in forum Newbie
    Replies: 1
    Last Post: 7th February 2010, 06:46

Tags for this Thread

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.