Results 1 to 3 of 3

Thread: Qt Creator with MS SDK support...

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Unhappy Qt Creator with MS SDK support...

    Hi, all:

    I'm trying to compile a package under WindowsXP, using Qt Creator 1.2.1 .

    Some of this package contains

    Qt Code:
    1. #include "WinVer.h"
    To copy to clipboard, switch view to plain text mode 
    which is just in the directory
    Qt Code:
    1. C:\Program Files\Microsoft SDKs\Windows\v6.1\Include
    To copy to clipboard, switch view to plain text mode 

    It looks that Qt Creator has no place to set these directories. The only place I can think of is from within the .pro file. Therefore, I added something into my .pro file.
    Qt Code:
    1. INCLUDEPATH += C:\Program Files\Microsoft SDKs\Windows\v6.1\Include
    To copy to clipboard, switch view to plain text mode 

    However, when I tried to compile this package, I still obtained the following error messages.
    Qt Code:
    1. icon.rc(4) : fatal error RC1015: cannot open include file 'WinVer.h'.
    2. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\rc.EXE"' : return code '0x1'
    3. Stop.
    4. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe"' : return code '0x2'
    5. Stop.
    6. Exited with code 2.
    7. Error while building project Test1
    8. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 


    BTW, I'm using Qt 4.5.2 + MSVC 9.0 (you may refer to the attached .jpg file)


    So, can anybody give me a hint how to solve this problem?

    Best Regards
    JIA
    Attached Images Attached Images
    • File Type: jpg 1.jpg (45.7 KB, 17 views)
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Creator with MS SDK support...

    Did you rerun QMAKE to update the Makefiles to match the .pro file?

  3. #3
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt Creator with MS SDK support...

    I am not sure, but the problem could be the space in your path.

    You can check by looking at the compiler output view.

    Try to quote the path (i.e. "...") or use the "short" name (something like ...\Progr~1\... or to use quotes and forward slashes (i.e. "/" instead of "\")

Similar Threads

  1. Installation Problem
    By QbelcorT in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd April 2010, 09:04
  2. Qt 4.4.3 commercial on Kubuntu 8.10
    By Micawber in forum Installation and Deployment
    Replies: 5
    Last Post: 17th February 2010, 01:02
  3. Qt/X11 source-distro apps corrupting KDE Desktop background
    By wdezell in forum Installation and Deployment
    Replies: 5
    Last Post: 23rd July 2009, 21:10
  4. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  5. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02

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.