Results 1 to 4 of 4

Thread: nmake :-(

  1. #1
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default nmake :-(

    hi,
    i am unable to find any doc regarding this, so i m posting this problem.
    i have evaluation version of Qt 4.2.2(commercial version) and i m using the compiler Microsoft VC 6.0 (plz dnt ask me to change the compiler at this point)
    now i install Qt anf VC. All the env var are set.
    now on cmd prompt (as i m not using any IDE) i do the following :

    C:\Qt\4.2.2>nmake

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    NMAKE : fatal error U1064: MAKEFILE not found and no target specified
    Stop.

    C:\Qt\4.2.2>

    OR

    C:\Qt\4.2.2\examples\tutorial\t1>qmake -project

    C:\Qt\4.2.2\examples\tutorial\t1>qmake

    C:\Qt\4.2.2\examples\tutorial\t1>nmake

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    NMAKE -f Makefile.Release

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cl -c -nologo -Zm200 -O1 -MD -O1 -MD -GR -GX -W3 -DUNICODE -DQT_LARGEFIL
    E_SUPPORT -DQT_EVAL -DQT_EDITION=QT_EDITION_DESKTOP -DQT_DLL -DQT_NO_DEBUG -DQT_
    GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Q
    t/4.2.2/include/QtCore" -I"C:/Qt/4.2.2/include/QtGui" -I"C:/Qt/4.2.2/include/QtG
    ui" -I"C:/Qt/4.2.2/include" -I"." -I"C:/Qt/4.2.2/include/ActiveQt" -I"tmp\moc\re
    lease_shared" -I"." -I"..\..\..\mkspecs\win32-msvc" -Fotmp\obj\release_shared\ @
    C:\DOCUME~1\E372544\LOCALS~1\Temp\nma03224.
    main.cpp
    C:/Qt/4.2.2/include\QtCore/qglobal.h(25) : fatal error C1083: Cannot open includ
    e file: 'stddef.h': No such file or directory
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'C:\Qt\4.2.2\bin\NMAKE.EXE' : return code '0x2'
    Stop.

    C:\Qt\4.2.2\examples\tutorial\t1>


    i think there is some prob with linking qt n nmake. so can any1 tel me the steps which i need to follow after installing qt n vc.
    i m working on windows Xp.

    thanks
    Shuchi
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: nmake :-(

    I think some MSVC environment is setup incorrectly. stddef.h is a Windows include file, looks like cl (the compiler) can't find it. Seems like Qt has nothing to do with it - you couldn't compile a non-Qt application as well. Did you use the "Qt command prompt" to open the console?

  3. #3
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: nmake :-(

    Thanks Sir. But now i have installed Qt open source 4.2.2 with Mingw 5.1.2 and Qdevelop.
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: nmake :-(

    Good choice

Similar Threads

  1. QPixmap won't work on some JPGs
    By durbrak in forum Qt Programming
    Replies: 9
    Last Post: 28th October 2006, 21:58
  2. QT 4.1.3 nmake error
    By vvbkumar in forum Installation and Deployment
    Replies: 1
    Last Post: 21st June 2006, 16:34
  3. nmake clean and qmke
    By mickey in forum Newbie
    Replies: 1
    Last Post: 13th April 2006, 06:59
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  5. cant ceate makefile
    By raphaelf in forum Qt Programming
    Replies: 7
    Last Post: 24th January 2006, 13:52

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.