Qt debugging hangs everytime
-
wrote on 8 Nov 2015, 13:27 last edited by
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.My PC is HP ZBook G2, Windows 10. It is fresh installation of Qt using Qt automatic installer.
-
Hi
If you just did download and installed, i wonder why it is not 5.5 ? -
wrote on 8 Nov 2015, 18:38 last edited by
Because previously I had 5.5 and it did the same, so I tried downgrading to 5.4.
-
ah that makes sense.
If you create a default gui application, does that hang too? -
wrote on 8 Nov 2015, 20:29 last edited by MartinD 11 Aug 2015, 20:36
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.
-
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.
@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. -
wrote on 8 Nov 2015, 21:04 last edited by MartinD 11 Aug 2015, 21:06
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?
-
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?
Lifetime Qt Championwrote on 8 Nov 2015, 22:26 last edited by mrjj 11 Aug 2015, 22:27@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/8