BTW, you also can get that working by invoking 'vcvars32.bat' from that directory before starting the Qt build script, just like
"E:\Program Files\Microsoft Visual Studio 8\VC\vcvars32.bat"
<start building Qt here>
Main Topics
Browse All TopicsI am trying to install QT for Visual Studio following this guide:
http://qtnode.net/wiki/Qt4
I get through to "You will then be informed that qmake is about to be built. Type 'y' followed by <Enter> to continue. This will take a few moments" and it fails saying nmake is not a recognized...
If however, I run NMake from E:\Program Files\Microsoft Visual Studio 8\VC\ it finds it fine.
What do I need to do to complete this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
That worked. Now, when I do the nmake step I get the following:
qvector.cpp
qbytearray.cpp
..\..\corelib\tools\qbytea
file: 'zlib.h': No such file or directory
qregexp.cpp
Generating Code...
NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visu
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visu
make.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
PS: I am running a fully installed version of .Net 2005 professional.
Almost... I got it to completely install. I have started through now on the first example, the hello world program:
#include <QApplication>
#include <QLabel>
int main(int argc, char **argv) {
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello World!");
label->show();
return app.exec();
}
I followed through and hade it make me the vcproj file. Following this, I opened the file and began with a compile. Here is the error I received:
LINK : fatal error LNK1181: cannot open input file 'QtGuid4.lib'
As for environment variables, here is what I have done:
Prepended QT bin directory to system variables PATH.
Added QMAKESPEC win32-mscvc2005 to user variables.
Any ideas what I am missing?
That's not it, here is some more information:
It is looking for "QTguid4.lib." This file is NOT in the lib directory. "QTgui4.lib" however, is in the directory. I copied it and renamed the copy to include the 'd'. This worked to skip that file, then it wanted "QTCored4.lib" again, when only "QTCore4.lib" is in the directory. Why would this extra d be around?
Hey, JKR, if you have an additional minute, want to check this question out?
http://www.experts-exchang
(I thought after a couple years with C++ I would be beyond these simple problems.. ugh.. lol)
Business Accounts
Answer for Membership
by: jkrPosted on 2007-02-13 at 19:09:10ID: 18528306
Make sure that "E:\Program Files\Microsoft Visual Studio 8\VC" is listed in your PATH environment variable. To do that, right-click on "My Computer", go to the "Advanced" tab and click the button that is labeled"Environment Variables". In the dialog that will pop up, ad that one to the others separated by a semicolon.