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. Problem with exit or quit
Forum Updated to NodeBB v4.3 + New Features

Problem with exit or quit

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 458 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.
  • B Offline
    B Offline
    borisa
    wrote on last edited by
    #1

    Hi,

    I am using with library QApplication (QT 4.8 )
    I ran my app from cmd, I didnt open any GUI window, only pure code.
    After some interact with server the app needs to exit, so I call to qApp->quit(); (before i tried exit)
    In some cases the app not exit and stays in the memory.

    I tried to add #include <QCoreApplication> to my class where i call to quit.
    This action decrease the occur of the problem but not fix it.
    In all the situations I enter to slot aboutToQuit.
    I have no idea what to do!!!!

    1 Reply Last reply
    0
    • Yves MaurischatY Offline
      Yves MaurischatY Offline
      Yves Maurischat
      wrote on last edited by
      #2

      Can you post some code? Where do you call qApp->quit()?

      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