Results 1 to 4 of 4

Thread: QT and visual studio 2005: include problems (false permission denied)

  1. #1
    Join Date
    Jul 2006
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default 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
    Last edited by thedrs; 27th August 2006 at 10:28.

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT and visual studio 2005: include problems (false permission denied)

    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.

  3. #3
    Join Date
    Jul 2006
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Windows

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

  4. #4
    Join Date
    Jul 2006
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Windows

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

Similar Threads

  1. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 22:41
  2. Qt 4.1.0 on Visual Studio 2005
    By nErnie in forum Installation and Deployment
    Replies: 8
    Last Post: 6th July 2006, 01:56
  3. Qt Designer & Visual Studio 2005
    By pSiCho in forum Qt Tools
    Replies: 6
    Last Post: 9th February 2006, 14:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.