sankar
9th February 2011, 08:08
Hi All,
I tried to use the following sample hello world program.
#include "QApplication"
#include "QLabel"
int main(int arg c, char* argv[])
{
QApplication app(argc, arv);
QLabel *myLabel = new QLabel("Hello World");
myLabel->show();
return app.exec();
}
1. Ran qmake -project and it created hello.pro file as expected.
2. Ran qmake hello.pro, but it throws the following error,
C:\Qt Samples\hello>qmake -project
C:\Qt Samples\hello>qmake hello.pro
Error processing meta file: c:\Qt\4.5.0\lib\qtmain
Error processing meta file: c:\Qt\4.5.0\lib\qtmaind
Error processing meta file: c:\Qt\4.5.0\lib\qtmain
Could you tell me how to resolve this issue. Thanks.
Regards,
Sankar.
I tried to use the following sample hello world program.
#include "QApplication"
#include "QLabel"
int main(int arg c, char* argv[])
{
QApplication app(argc, arv);
QLabel *myLabel = new QLabel("Hello World");
myLabel->show();
return app.exec();
}
1. Ran qmake -project and it created hello.pro file as expected.
2. Ran qmake hello.pro, but it throws the following error,
C:\Qt Samples\hello>qmake -project
C:\Qt Samples\hello>qmake hello.pro
Error processing meta file: c:\Qt\4.5.0\lib\qtmain
Error processing meta file: c:\Qt\4.5.0\lib\qtmaind
Error processing meta file: c:\Qt\4.5.0\lib\qtmain
Could you tell me how to resolve this issue. Thanks.
Regards,
Sankar.