Results 1 to 5 of 5

Thread: Problems compiling QMAKE

  1. #1
    Join Date
    Jan 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Problems compiling QMAKE

    Hi!

    When I attempt to compile QMAKE I get two errors (with QT 4.2.2):

    c:\QT\4.2.2\include\QtCore\../../src\corelib\global\qglobal.h (27): fatal error C1083: Cannot open includefile 'stddef.h': No such file or directory

    NMAKE: fatal error U1077: "c:\Program\Microsoft Visual C++ Toolkit 2003\bin\cl.EXE": return code '0x2'

    My guess is that the second error will go away if the first one is solved. I'm using Windows XP and I'm trying to compile QMAKE with the Microsoft Visual Studio 2005 compiler.

    Help would be appriciated!
    /JNT

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems compiling QMAKE

    I'd say that you are missing some sort of environment variable to inform you C++ compiler where the headers are stored.

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems compiling QMAKE

    Check the additional include paths in Visual Studio, in project properties. Maybe there is something missing there.

  4. #4
    Join Date
    Jan 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems compiling QMAKE

    Everything seems to be in order in VC's include paths. Should I add something in the PATH variable amongst the environment variables?

  5. #5
    Join Date
    Jan 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems compiling QMAKE

    I can't put MSVC's "include" directory in the PATH variable, can I?

Similar Threads

  1. QMake make install problems
    By cookiem in forum Qt Programming
    Replies: 12
    Last Post: 4th December 2008, 15:34
  2. qmake to build both 32-bit and 64-bit
    By lni in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2006, 19:35
  3. Setting up qmake to run "Hello World"
    By Rolsch in forum Newbie
    Replies: 2
    Last Post: 27th May 2006, 02:37
  4. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38
  5. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

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.