50 # pragma warning(disable: 4267 4311) 56 #include <QApplication> 57 #include <QMessageBox> 58 #include "SubdivideWidget.hh" 66 int main(
int argc,
char **argv)
69 QApplication::setColorSpec( QApplication::CustomColor );
70 QApplication app(argc,argv);
72 #if !defined(__APPLE__) 76 if ( !QGLFormat::hasOpenGL() ) {
77 QString msg =
"System has no OpenGL support!";
78 QMessageBox::critical( NULL,
"OpenGL", msg + argv[1], QMessageBox::Ok );
94 QString msg =
"Cannot read mesh from file ";
95 QMessageBox::critical( NULL, argv[1], msg + argv[1], QMessageBox::Ok );
bool open_mesh(const char *_filename)
open mesh from _filename