git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@30 620bd6b2-0a58-f614-fd9a-1bd335dccda9
19 lines
376 B
C++
19 lines
376 B
C++
#include <QtGui/QApplication>
|
|
#include "MainWindow.h"
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
/* Create tasks */
|
|
QApplication app(argc, argv);
|
|
MainWindow mainWindow;
|
|
|
|
mainWindow.showNormal();
|
|
|
|
// Now wait for application to finish
|
|
app.connect( &app, SIGNAL( lastWindowClosed() ),
|
|
&app, SLOT( quit() ) );
|
|
app.exec();// MUST be called by the Main Thread
|
|
|
|
return 0;
|
|
}
|