PDA

View Full Version : Trying to compile



Afflicted.d2
20th October 2006, 20:57
I'm trying to build the hello world button application on the Qt4 prompt, but the "nmake" command isn't working, it says it updates the hello world, but I ran the file and no changes.

Setting up a Qt environment...
-- QTDIR set to C:\Qt\4.2.0
-- Added C:\Qt\4.2.0\bin to PATH
-- QMAKESPEC set to win32-msvc2005
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
C:\Qt\4.2.0>cd C:\Qt\4.2.0\examples\tutorial\t1

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

C:\Qt\4.2.0\examples\tutorial\t1>nmake main.cpp

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

'main.cpp' is up-to-date

C:\Qt\4.2.0\examples\tutorial\t1>make main.cpp
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

C:\Qt\4.2.0\examples\tutorial\t1>nmake main.cpp

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

'main.cpp' is up-to-date

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

jacek
20th October 2006, 20:59
Run "nmake", not "nmake main.cpp".