#include <QApplication> #include "modeleditor.h" int main( int argc, char *argv[] ) { QApplication a(argc, argv); ModelEditor *w = new ModelEditor(0); a.setMainWidget( w ); w->show(); return a.exec(); }