I installed Qt for windows from the latest download available at Trolltech. I have VC7 2003 .NET installed on my PC. I ran the configuration with the appropriate path settings and
QMAKESPEC=win32-mscv2003
configure.exe -release -no-dsp -vcproj
Then I tried to compile
#include <qapplication.h>
#include <qpushbutton.h>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.show();
return app.exec();
}
by doing
qmake -project
qmake
nmake
Compile happens w/o error, but I get the following linker message:
LNK1182: cannot open input file 'c:\qt\2009.02\qt\lib\qtmain
Clearly I didn't configure my Qt correctly for .NET 2003. Can anybody provide me the correct configuration sequence for what I'm trying to do? Thanks.
Karl
Bookmarks