PDA

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



thedrs
27th August 2006, 09: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:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=333202&SiteID=1

munna
27th August 2006, 17: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.

thedrs
28th August 2006, 09: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)

thedrs
4th September 2006, 07: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.