Results 1 to 1 of 1

Thread: Compile Qt program on Windows with VC++ 2008 express

  1. #1
    Join Date
    Jan 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Compile Qt program on Windows with VC++ 2008 express

    Dear All,

    I am newbie of Qt. I installed Qt successfully on Windows XP and Vista computers and recompiled the source code using VC++ 2008 express compiler.

    I created a test program in which I tried to use a C++ library from Cypress. The header file CyApi.h uses e.g. UCHAR. I know it is defined in WinDef.h. If I just included this header file, I got other errors, indicating that I need to include more WIN32 headers. I was told that I need to include windows.h that will cover all the definitions related to Windows. However, when I included windows.h in the main file, I got a lot of error saying e.g. UCHAR not defined.

    I attached my test program to this post. I appreciated your help in advande.
    Attached Files Attached Files

Similar Threads

  1. Replies: 0
    Last Post: 15th March 2010, 13:16
  2. how to compile with msvc express 2008
    By john_god in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd March 2009, 14:09
  3. msvc++ 2008 express and msvc++ 2005 express
    By vonCZ in forum Installation and Deployment
    Replies: 4
    Last Post: 9th December 2008, 12:15
  4. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  5. I can't compile my program in windows!!
    By brevleq in forum Qt Programming
    Replies: 12
    Last Post: 29th November 2007, 22:08

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.