#include #include "mainForm.h" int main( int argc, char *argv[] ) { QApplication app( argc, argv ); MainForm *mf = new MainForm( ); app.setMainWidget( mf ); mf->show(); return app.exec(); }