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

Qt Code:
  1. #include<QApplication>
  2. #include<QLabel>
  3.  
  4. int main(int argc,char *argv[])
  5. {
  6. QApplicaiton app(argc, argv);
  7. QLabel *label=new QLabel("Yellow Fellows");
  8. label->show();
  9. return app.exec();
  10. }
To copy to clipboard, switch view to plain text mode