Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to close GUI application?

How to close GUI application?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 338 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MucipM Offline
    MucipM Offline
    Mucip
    wrote on last edited by
    #1

    Hi,
    I have GUI progam and many forms in it. Ofcourse I have MainForm. And I have EXIT menu. Whan I trigger it "close()" command running.
    But in Application Outputscreen I see below message. Is it something wrong?..

    15:27:17: Starting D:\Belgeler\Qt\build-Yonetim-Desktop_Qt_5_13_1_MSVC2017_64bit-Debug\debug\Yonetim.exe ...
    15:30:50: The program has unexpectedly finished.
    15:30:50: The process was ended forcefully.
    15:30:50: D:/Belgeler/Qt/build-Yonetim-Desktop_Qt_5_13_1_MSVC2017_64bit-Debug/debug/Yonetim.exe crashed.

    Regards,
    Mucip:)

    jsulmJ 1 Reply Last reply
    0
    • MucipM Mucip

      Hi,
      I have GUI progam and many forms in it. Ofcourse I have MainForm. And I have EXIT menu. Whan I trigger it "close()" command running.
      But in Application Outputscreen I see below message. Is it something wrong?..

      15:27:17: Starting D:\Belgeler\Qt\build-Yonetim-Desktop_Qt_5_13_1_MSVC2017_64bit-Debug\debug\Yonetim.exe ...
      15:30:50: The program has unexpectedly finished.
      15:30:50: The process was ended forcefully.
      15:30:50: D:/Belgeler/Qt/build-Yonetim-Desktop_Qt_5_13_1_MSVC2017_64bit-Debug/debug/Yonetim.exe crashed.

      Regards,
      Mucip:)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Mucip You should run through debugger.
      One reason could be double delete: if you delete something (in destructor for example) which has a parent so it is deleted second time by the parent.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      MucipM 1 Reply Last reply
      5
      • jsulmJ jsulm

        @Mucip You should run through debugger.
        One reason could be double delete: if you delete something (in destructor for example) which has a parent so it is deleted second time by the parent.

        MucipM Offline
        MucipM Offline
        Mucip
        wrote on last edited by
        #3

        Hi @jsulm ,
        You're right sir. I was trying to delete pointer twice unfortunately. :)

        Regards,
        Mucip:)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved