Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Application Continues in Background , even When Gui is closed with [X]

    Tools
    2
    3
    773
    Loading More Posts
    • 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.
    • R
      rajatgupta431 last edited by

      My Application calls various function depending on if else conditions...If i close the application with X button of the window...the Gui disappears , but the process continues unless the condition is false....So how to i terminate the whole process with X button ??

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Connect QWidget::closed() with QApplication::quit().

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • R
          rajatgupta431 last edited by

          Ya thanks :) ...i used QCloseEvent and its done

          1 Reply Last reply Reply Quote 0
          • First post
            Last post