QtCreator never finishes parsing pro or source files
-
Whenever I open our project files in QtCreator (3.5.x or 4.0.0-beta1) in Windows the parsing never finshes and it gets stuck on "Reading Project...". I can open the project just fine in OSX and Linux, but not in Windows. Many of the source files are missing from the project tree and QtCreator never runs the TODO scanner.
Is there any way I can enable some debugging to see what's causing QtCreator to get stuck?
-
Hi and welcome to devnet,
One thing you can try is to launch Qt Creator from the command line to see if you get any message there.
-
It just forks off into the background on Windows. There is a '-block' flag but it does not help.
-
Is this a project that is accessible somewhere ?
-
@SGaist No, this is a private project :(
-
In between Qt Creator 4 RC1 has been released so it's worth a shot.
Even if private, is it a specially big project ? Uses custom commands ? Has many subdirs ?
-
@SGaist I have tried one of the previous 4.0 betas and with the RC but it's the same there.
This is a fairly large project with some custom commands, though they should only be executed when you actually invoke make.
-
What happens if you use the command line and call qmake directly ?
-
@SGaist I think it's actually stuck at the same location where QtCreator bails out. I'll run this with debugging enabled to see if I can find something. Thanks!
-
IIRC you can make it more verbose to grab more informations.
-
I think I found the problem:
DEBUG 1: V:/dev/exqbe/Application/ApplicationCore.pro:43: calling built-in $$system("date +%s")
The Windows 'date' program prints the date and then expects an input. I'll figure out another way of extracting the build date. Thanks!