Results 1 to 3 of 3

Thread: Problems while compiling QT on Windows with MS VC2008 support

  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Problems while compiling QT on Windows with MS VC2008 support

    Hello friends,
    I'm trying to compile QT as explained here: http://doc.trolltech.com/4.6/install-win.html
    But in the first step, when I enter "configure -platform win32-msvc", I get the following error message:

    c:\qt\4.6.3-vc\include\qtcore\../../src/corelib/global/qglobal.h(45) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
    NMAKE : fatal error U1077: '"C:\Arquivos de programas\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0x2'
    Stop.
    Building qmake failed, return code 2
    I'm running "configure" from the Visual Studio 2008 command prompt. Also, I have both the DirectX SDK and the Windows Server 2003 R2 Platform SDK installed.
    I've tried to reinstall my Visual C++ 2008 Express (would this be the problem? I mean, the fact that I have the express edition), but the problem still persists.

    Can anyone help me?

  2. #2
    Join Date
    Jun 2010
    Location
    Salatiga, Indonesia
    Posts
    160
    Thanks
    11
    Thanked 32 Times in 29 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    1

    Default Re: Problems while compiling QT on Windows with MS VC2008 support

    If you use MS Visual C++ 2008, then try "configure -platform win32-msvc2008"

  3. #3
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems while compiling QT on Windows with MS VC2008 support

    Hello friend, thanks for your reply.
    I also tried this platform, but unfortunately got the same error message.

Similar Threads

  1. compiling Qt with custom SQLite support
    By scarleton in forum Qt Programming
    Replies: 1
    Last Post: 17th June 2010, 21:03
  2. deploying QtSql app, Windows, VC2008
    By cyrfer in forum Qt Programming
    Replies: 1
    Last Post: 26th January 2010, 06:40
  3. Compiling Qt with Firebird support on Mac
    By ceharon in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd July 2009, 15:12
  4. problems installing Qt opensource with msvc2008 support
    By odin1985 in forum Installation and Deployment
    Replies: 6
    Last Post: 24th May 2008, 09:06
  5. Error compiling Qt3 app with Boost signals support
    By stodge in forum Qt Programming
    Replies: 3
    Last Post: 3rd May 2007, 10:48

Tags for this Thread

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.