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. Runtime Error
Qt 6.11 is out! See what's new in the release blog

Runtime Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 603 Views 2 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.
  • A Offline
    A Offline
    Anh Phan
    wrote on last edited by
    #1

    Hi every one. In my project I run my program and it works properly. But when i close it i receive this error message :
    Runtime Error
    This application has requested the runtime to terminate it in an unusual way.
    Please help me to solve it.

    Anh

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      The app crashes when u close it.
      Do you have any Global objects?

      If you put break point on last line in main()
      does it run to there before crashing or before?

      1 Reply Last reply
      1
      • kshegunovK Offline
        kshegunovK Offline
        kshegunov
        Moderators
        wrote on last edited by kshegunov
        #3

        @Anh-Phan
        To add to @mrjj's comment.
        Possibly you have a segmentation fault somewhere in the cleanup - double delete in destructors would be one possibility.

        Read and abide by the Qt Code of Conduct

        1 Reply Last reply
        1

        • Login

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