#include #include "qgsspit.h" int main( int argc, char ** argv ) { QApplication a( argc, argv ); QgsSpit w; w.show(); // Moved get schema to constructor so plugins will work w.getSchema(); a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); return a.exec(); }