[Qt-creator] Compiling fails to link *sometimes*

Jason MacDonald jason.macdonald at ditchwitch.com
Wed Jul 9 18:48:19 CEST 2014


I've had similar issues that I haven't been able to resolve. Although when it happens, it will usually keep happening until I reboot. I am also unable to manually delete the file. I don't think my issues are qt-creator related.

Jason

-----Original Message-----
From: qt-creator-bounces+jason.macdonald=ditchwitch.com at qt-project.org [mailto:qt-creator-bounces+jason.macdonald=ditchwitch.com at qt-project.org] On Behalf Of Murphy, Sean
Sent: Wednesday, July 09, 2014 11:37 AM
To: Cristian Adam; Qt-creator at qt-project.org
Subject: Re: [Qt-creator] Compiling fails to link *sometimes*

> > 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


_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.



More information about the Qt-creator mailing list