Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. New project throws error: The program has unexpectedly finished.
Forum Update on Monday, May 27th 2025

New project throws error: The program has unexpectedly finished.

Scheduled Pinned Locked Moved Solved Qt 6
4 Posts 3 Posters 464 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
    c0ntrarian
    wrote on last edited by
    #1

    Hi guys,

    This is my first time doing Linux development and I am having an issue with debugging a basic Hello World application. I am receiving this error every time I try to run debug on my application:

    "The program has unexpectedly finished."

    A screen pops up (I believe it's the window that it's trying to run) but closes in a fraction of a second.

    I am running on Gentoo Linux and installed this using the online installer. I tried setting breakpoints in the Screen01.qml form but the breakpoint never gets there. Any pointers please?

    02:35:14: Debugging /home/drew/Qt/Tools/QtDesignStudio-2.2.0-preview/qt6_design_studio_reduced_version/bin/qml -I /home/drew/Qt/GEOSoftware/eeeee/imports -I /home/drew/Qt/GEOSoftware/eeeee/asset_imports /home/drew/Qt/GEOSoftware/eeeee/eeeee.qml -qmljsdebugger=port:42331,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation ...
    
    (qml:12902): dbind-WARNING **: 02:35:14.562: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    QML Debugger: Waiting for connection on port 42331...
    The program has unexpectedly finished.02:35:17: Debugging of /home/drew/Qt/Tools/QtDesignStudio-2.2.0-preview/qt6_design_studio_reduced_version/bin/qml -I /home/drew/Qt/GEOSoftware/eeeee/imports -I /home/drew/Qt/GEOSoftware/eeeee/asset_imports /home/drew/Qt/GEOSoftware/eeeee/eeeee.qml -qmljsdebugger=port:42331,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation has finished.
    
    JonBJ 1 Reply Last reply
    0
    • C c0ntrarian

      Hi guys,

      This is my first time doing Linux development and I am having an issue with debugging a basic Hello World application. I am receiving this error every time I try to run debug on my application:

      "The program has unexpectedly finished."

      A screen pops up (I believe it's the window that it's trying to run) but closes in a fraction of a second.

      I am running on Gentoo Linux and installed this using the online installer. I tried setting breakpoints in the Screen01.qml form but the breakpoint never gets there. Any pointers please?

      02:35:14: Debugging /home/drew/Qt/Tools/QtDesignStudio-2.2.0-preview/qt6_design_studio_reduced_version/bin/qml -I /home/drew/Qt/GEOSoftware/eeeee/imports -I /home/drew/Qt/GEOSoftware/eeeee/asset_imports /home/drew/Qt/GEOSoftware/eeeee/eeeee.qml -qmljsdebugger=port:42331,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation ...
      
      (qml:12902): dbind-WARNING **: 02:35:14.562: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
      QML Debugger: Waiting for connection on port 42331...
      The program has unexpectedly finished.02:35:17: Debugging of /home/drew/Qt/Tools/QtDesignStudio-2.2.0-preview/qt6_design_studio_reduced_version/bin/qml -I /home/drew/Qt/GEOSoftware/eeeee/imports -I /home/drew/Qt/GEOSoftware/eeeee/asset_imports /home/drew/Qt/GEOSoftware/eeeee/eeeee.qml -qmljsdebugger=port:42331,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation has finished.
      
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @c0ntrarian
      I suggest this question would be better answered in either the QML sub-forum or maybe the Qt6 one.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Post moved

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • C Offline
          C Offline
          c0ntrarian
          wrote on last edited by
          #4

          Hi I solved this by reinstalling Qt Design Studio.

          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