Newer
Older
Import / research / 3d-z-maps / mview-0.3.3 / mview / main.cpp
@John John on 29 Dec 2020 530 bytes bulk import from macbookpro checkouts
//
//    File: main.cc
//
//    (C) 2000-2008 Helmut Cantzler
//
//    Licensed under the terms of the Lesser General Public License.
//

#include <QApplication>
#include <QGLFormat>

#include "mview.h"

int main(int argc, char **argv)
{
  QApplication a(argc, argv);

  qWarning("here\n");
  if (!QGLFormat::hasOpenGL())
    {
      qWarning("This QT libary has no OpenGL support. Install a library with OpenGL support. Exiting.");
      return -1;
    }

  //  GLMesh m;
  MView m(argc, argv);
  m.show();

  return a.exec();
}