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
QtWS25 Last Chance

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 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

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

        mrjjM 1 Reply Last reply
        0
        • M MartinD

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

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on 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 last edited by MartinD
            #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.

            mrjjM 1 Reply Last reply
            0
            • M MartinD

              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.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on 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 last edited by MartinD
                #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?

                mrjjM 1 Reply Last reply
                0
                • M MartinD

                  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?

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by mrjj
                  #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

                  • Login

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