fork download
  1. #include <qapplication.h>
  2. #include <qpushbutton.h>
  3.  
  4.  
  5. int main( int argc, char **argv )
  6. {
  7. QApplication a( argc, argv );
  8.  
  9. QPushButton hello( "Hello world!", 0 );
  10. hello.resize( 100, 30 );
  11.  
  12. a.setMainWidget( &hello );
  13. hello.show();
  14. return a.exec();
  15. }
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:26: fatal error: qapplication.h: No such file or directory
 #include <qapplication.h>
                          ^
compilation terminated.
stdout
Standard output is empty