View Full Version : QT and visual studio 2005: include problems (false permission denied)

27th August 2006, 10:22
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:

27th August 2006, 18:51
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.

28th August 2006, 10:06
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)

4th September 2006, 08:18
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.