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 debugging hangs everytime
Forum Update on Monday, May 27th 2025

Qt debugging hangs everytime

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 3.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.
  • M Offline
    M Offline
    MartinD
    wrote on 8 Nov 2015, 13:27 last edited by
    #1

    Hello,
    no matter what application in Qt Creator I debug, the debugger hangs during launching. Please see attached pictures. The application is console application template, no custom code added to it.

    Qt debugger hangs

    Qt configuration

    My PC is HP ZBook G2, Windows 10. It is fresh installation of Qt using Qt automatic installer.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 8 Nov 2015, 13:40 last edited by
      #2

      Hi
      If you just did download and installed, i wonder why it is not 5.5 ?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MartinD
        wrote on 8 Nov 2015, 18:38 last edited by
        #3

        Because previously I had 5.5 and it did the same, so I tried downgrading to 5.4.

        M 1 Reply Last reply 8 Nov 2015, 18:46
        0
        • M MartinD
          8 Nov 2015, 18:38

          Because previously I had 5.5 and it did the same, so I tried downgrading to 5.4.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 8 Nov 2015, 18:46 last edited by
          #4

          ah that makes sense.
          If you create a default gui application, does that hang too?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MartinD
            wrote on 8 Nov 2015, 20:29 last edited by MartinD 11 Aug 2015, 20:36
            #5

            Yes, both widget and Qt Quick applications also hang....

            Yesterday It was my first day full of work with Qt on my notebook and Win 10. Qt Creator itself hanged many times during debugging yesterday (at random times). To be precise whole Win 10 system hanged and needed hard reset. Today debugging stopped working at all. I have no idea how to fix it as uninstalling Qt didn't help.

            M 1 Reply Last reply 8 Nov 2015, 20:37
            0
            • M MartinD
              8 Nov 2015, 20:29

              Yes, both widget and Qt Quick applications also hang....

              Yesterday It was my first day full of work with Qt on my notebook and Win 10. Qt Creator itself hanged many times during debugging yesterday (at random times). To be precise whole Win 10 system hanged and needed hard reset. Today debugging stopped working at all. I have no idea how to fix it as uninstalling Qt didn't help.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 8 Nov 2015, 20:37 last edited by
              #6

              @MartinD
              HI i wonder if it might be your virus scanner or something security related ?
              Blocking the exe/ debugger.
              Qt normally works fine on win 10.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                MartinD
                wrote on 8 Nov 2015, 21:04 last edited by MartinD 11 Aug 2015, 21:06
                #7

                Of course! My Avast file system protection did it! Thank you very much for your help.

                What antivirus do you recommend to use to have no problems with Qt?

                M 1 Reply Last reply 8 Nov 2015, 22:26
                0
                • M MartinD
                  8 Nov 2015, 21:04

                  Of course! My Avast file system protection did it! Thank you very much for your help.

                  What antivirus do you recommend to use to have no problems with Qt?

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 8 Nov 2015, 22:26 last edited by mrjj 11 Aug 2015, 22:27
                  #8

                  @MartinD
                  well I use avast too so its strange it affects qt that way.
                  Maybe you can change the default build path so all projects use the same
                  say like
                  c:\builds
                  and then put that in ignore/exclude folder in avast?

                  Its Tools->Options->Build and run. Then in bottom is
                  Default build Directory
                  mine is e:/build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}
                  so all build folders comes to my e:\ drive for easy clean
                  so say u made c:\builds and used that
                  c:/builds/build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}
                  and added c:/build to ignore, it might stop doing it.

                  Else, AVG free works fine for me also.

                  1 Reply Last reply
                  0

                  1/8

                  8 Nov 2015, 13:27

                  • Login

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