QT and visual studio 2005: include problems (false permission denied)
Hi All,
There seems to be a problem with compiling QT programs in vs8 (visual studio 2005).
this is what I get sometimes:
c1xx : fatal error C1083: Cannot open source file: 'C:\Qt\3.3.5/include': Permission denied
it happens some times and when it happens the only solution seems to be trying to compile again and again and again until it works.
any ideas ?
BTW: I also found a similar post on MS dev studio developers forum:
http://forums.microsoft.com/MSDN/Sho...33202&SiteID=1
Re: QT and visual studio 2005: include problems (false permission denied)
Quote:
Cannot open source file: 'C:\Qt\3.3.5/include': Permission denied
The problem is with the path 'C:\Qt\3.3.5/include'. It should be 'C:\Qt\3.3.5\include'
Check where is this defined and correct it.
Re: QT and visual studio 2005: include problems (false permission denied)
that is not the problem - if it was, then the problem would happen all the time - it happens only sometimes - trying to repeat the compile action with no other actions generally works after this.
also it sometimes compiles on the first try...
I am quite sure there is a problem in dev studio 2005 (vs8)
Re: QT and visual studio 2005: include problems (false permission denied)
problem solved.
the conversion process from vs6 dsp to vs8 vcproj stuck in an extra "/I /I ($QTDIR)/include" in the advaced c++ command line options in the project settings - this is what made vs8 go crazy - just remove it and everything is fine (because the QTDIR is included in the input paths already.