I am using windows and when I enter this command i get the following errors
C:\>qmake yellow.cpp
c:\yellow.cpp:4: Unknown test function: int main
c:\yellow.cpp:6: Unknown test function: QApplicaiton app
c:\yellow.cpp:6: Parse Error ('QApplicaiton app(argc, argv);')
c:\yellow.cpp:6: Unterminated conditional block at end of file
Error processing project file: yellow.cpp
this is my yellow.cpp file
#include<QApplication>
#include<QLabel>
int main(int argc,char *argv[])
{
QApplicaiton app(argc, argv);
label->show();
return app.exec();
}
#include<QApplication>
#include<QLabel>
int main(int argc,char *argv[])
{
QApplicaiton app(argc, argv);
QLabel *label=new QLabel("Yellow Fellows");
label->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks