/********************************************************************
created: 2003/09/09
filename: main.cpp
author: Micha Bieber
*********************************************************************/
#include <qapplication.h>
#include "mesh2mainwindow.h"
int main( int argc, char **argv )
{
QApplication::setColorSpec( QApplication::CustomColor );
QApplication app(argc,argv);
if ( !QGLFormat::hasOpenGL() )
{
qWarning( "This system has no OpenGL support. Exiting." );
return -1;
}
Mesh2MainWindow mainwindow;
#if QT_VERSION < 0x040000
app.setMainWidget(&mainwindow);
#endif
mainwindow.resize(1024,768);
mainwindow.show();
return app.exec();
}
syntax highlighted by Code2HTML, v. 0.9.1