[Qt-creator] Compiling fails to link *sometimes*
Murphy, Sean
smurphy at walbro.com
Wed Jul 9 18:36:38 CEST 2014
> > So what I think is happening is that the link step is being executed multiple
> times for some reason, and on one of them Windows thinks the file is still
> open for writing, and the subsequent attempt to open the file fails. If I load
> in a different Qt project (like a Qt example) that line is only included once.
> Here's my .pro file, edited a little for brevity (I just snipped out the
> .h/.cpp/.ui file names):
> >
>
> This might sound silly but, is there an anti-virus program running?
>
> I remember I had huge problems with some aggressive anti-virus program
> which was always checking the programs that I would generate on my
> machine.
It's a work machine, so I'm sure there's some sort of antivirus running on it. It looks like Trend Micro OfficeScan is installed.
Sometimes a compile works fine, sometimes it doesn't. And usually when it doesn't, if I immediately press the compile button again, it works.
Sean
More information about the Qt-creator
mailing list