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. qt application closed, a message error of microsoft appear
QtWS25 Last Chance

qt application closed, a message error of microsoft appear

Scheduled Pinned Locked Moved Solved General and Desktop
applicationdeleteui object
8 Posts 3 Posters 2.2k Views
  • 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.
  • C Offline
    C Offline
    cdcc0606
    wrote on last edited by
    #1

    the problem is if i open the application OV I made of qt without any use of OV. When i close the application i have an error message of microsoft. but if i use the connexion of internet or the connexion of serial port in the application, when the application OV is closed, i won't have this error message. Any one has an idéa why it will be like this? I tried to debug the application, it happens when ui of mainwindow is deleted.

    raven-worxR 1 Reply Last reply
    0
    • C cdcc0606

      the problem is if i open the application OV I made of qt without any use of OV. When i close the application i have an error message of microsoft. but if i use the connexion of internet or the connexion of serial port in the application, when the application OV is closed, i won't have this error message. Any one has an idéa why it will be like this? I tried to debug the application, it happens when ui of mainwindow is deleted.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @cdcc0606
      do you really want us to guess the error message and still expect an solution to your problem?
      Why not providing some essential information

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cdcc0606
        wrote on last edited by cdcc0606
        #3

        @raven-worx
        the error message of microsoft is : OV.exe stopped operation. Windows collects other information on this problem. This may take several minutes ...
        another window: do you want to send more information about the problem? you can choose send the information or cancel.
        is that clearer?

        raven-worxR 1 Reply Last reply
        0
        • jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Try to debug: start your application in QtCreator (press F5) and then close it. If it will crash you will see where. Make sure you build in debug mode.

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

          1 Reply Last reply
          0
          • C cdcc0606

            @raven-worx
            the error message of microsoft is : OV.exe stopped operation. Windows collects other information on this problem. This may take several minutes ...
            another window: do you want to send more information about the problem? you can choose send the information or cancel.
            is that clearer?

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by raven-worx
            #5

            @cdcc0606
            please provide the stack trace and the source code around the position where it crashed

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            C 1 Reply Last reply
            0
            • raven-worxR raven-worx

              @cdcc0606
              please provide the stack trace and the source code around the position where it crashed

              C Offline
              C Offline
              cdcc0606
              wrote on last edited by cdcc0606
              #6

              @raven-worx
              @jsulm
              i tried in debug mode, step by step, it crashed at the line

              delete ui;
              

              in the destructor of mainwindow.
              however,if the connexion TCP/IP is used, when the application is closed, i don't have the problem.
              For all the time, the application works fine, the message arrives only when i'd like to quit the application, and it's a message of Windows.

              raven-worxR 1 Reply Last reply
              0
              • C cdcc0606

                @raven-worx
                @jsulm
                i tried in debug mode, step by step, it crashed at the line

                delete ui;
                

                in the destructor of mainwindow.
                however,if the connexion TCP/IP is used, when the application is closed, i don't have the problem.
                For all the time, the application works fine, the message arrives only when i'd like to quit the application, and it's a message of Windows.

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @cdcc0606
                please show where you constructed the ui.
                Do you have any parents set, etc.

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cdcc0606
                  wrote on last edited by
                  #8

                  I've found the problem it is a process deleted without initialized.

                  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