00001 //#include <Qt/qapplication.h> 00002 00003 #include "QMain.h" 00004 00005 int main(int argc, char** argv) 00006 { 00007 //unsigned char m_histogram2DData[1024][1024]; 00008 00009 QApplication app( argc, argv ); 00010 00011 // create a new instance of QMain 00012 QMain mainWindow; 00013 mainWindow.show(); 00014 00015 // Enters the main event loop and waits until exit() is called 00016 // or the main widget is destroyed, and Returns the value that 00017 // was set via to exit() (which is 0 if exit() is called via quit()). 00018 return app.exec(); 00019 }