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. Application stops execution if output in cmd is highlighted
Forum Updated to NodeBB v4.3 + New Features

Application stops execution if output in cmd is highlighted

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 5 Posters 431 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.
  • R Offline
    R Offline
    Redman
    wrote on last edited by
    #1

    Hi,

    my application stops execution if I highlight output text in my cmd generated by the application.

    5c5f567c-871b-4768-b54b-7511eab7bbb8-image.png

    When I do this, and I try to press a button in my application, it crashes.
    Any idea on how to solve this?

    jsulmJ JonBJ 2 Replies Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #3

      This is a normal windows cmd behavior as you block stdout. Nothing Qt related or something Qt can fix.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      4
      • R Redman

        Hi,

        my application stops execution if I highlight output text in my cmd generated by the application.

        5c5f567c-871b-4768-b54b-7511eab7bbb8-image.png

        When I do this, and I try to press a button in my application, it crashes.
        Any idea on how to solve this?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @Redman Run your app in debugger and see where and why it is crashing

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

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by Christian Ehrlicher
          #3

          This is a normal windows cmd behavior as you block stdout. Nothing Qt related or something Qt can fix.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          4
          • R Redman

            Hi,

            my application stops execution if I highlight output text in my cmd generated by the application.

            5c5f567c-871b-4768-b54b-7511eab7bbb8-image.png

            When I do this, and I try to press a button in my application, it crashes.
            Any idea on how to solve this?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #4

            @Redman
            As @Christian-Ehrlicher has just written. However I am "surprised" your application "crashes". Explain how you know/think it has "crashed"?

            R 1 Reply Last reply
            0
            • JonBJ JonB

              @Redman
              As @Christian-Ehrlicher has just written. However I am "surprised" your application "crashes". Explain how you know/think it has "crashed"?

              R Offline
              R Offline
              Redman
              wrote on last edited by
              #5

              @JonB If I go over the top with button presses, it crashes. If I highlight anything in cmd I just get the "Application not responding" from Windows. So not a crash directly. But thanks for the information

              Pl45m4P 1 Reply Last reply
              0
              • R Redman has marked this topic as solved on
              • R Redman

                @JonB If I go over the top with button presses, it crashes. If I highlight anything in cmd I just get the "Application not responding" from Windows. So not a crash directly. But thanks for the information

                Pl45m4P Offline
                Pl45m4P Offline
                Pl45m4
                wrote on last edited by Pl45m4
                #6

                @Redman

                If it stops, press Space. It should resume then.
                (unless something actually crashed during the halt)


                If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                ~E. W. Dijkstra

                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