00001 #include <QtGui/QApplication> 00002 #include "ui/editor.h" 00003 00004 int main(int argc, char *argv[]) 00005 { 00006 QApplication a(argc, argv); 00007 Editor w; 00008 int success = 0; 00009 00010 if (w.loadingSuccessful()) 00011 { 00012 w.show(); 00013 success = a.exec(); 00014 } 00015 00016 return success; 00017 }