Files
mapmap/main.cpp
Tats 5a999f1983 - Put all mappings and paints in a single MappingManager class
- Basic compiling / running program (no quads for now)
2013-11-30 19:19:29 -05:00

27 lines
478 B
C++

// NOTE: To run, it is recommended not to be in Compiz or Beryl, they have shown some instability.
#include <iostream>
#include <QApplication>
#include <QtGui>
#include "Common.h"
#include "MainWindow.h"
#include <iostream>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
if (!QGLFormat::hasOpenGL())
{
std::cerr << "This system has no OpenGL support" << std::endl;
return 1;
}
MainWindow::getInstance().show();
return app.exec();
}