src/main.cpp

Fri, 13 Dec 2019 21:35:59 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 13 Dec 2019 21:35:59 +0200
changeset 18
918b6c0f8b5b
parent 17
a5111f4e6412
child 24
1a0faaaceb84
permissions
-rw-r--r--

things

#include <QApplication>
#include <QDir>
#include <QtDebug>
#include <GL/glut.h>
#include "main.h"
#include "mainwindow.h"
#include "version.h"
#include "matrix.h"

int main(int argc, char *argv[])
{
	::glutInit(&argc, argv);
	QCoreApplication::setApplicationName(::appName);
	QCoreApplication::setOrganizationName("hecknology.net");
	QCoreApplication::setOrganizationDomain("hecknology.net");
	::qRegisterMetaTypeStreamOperators<Library>("Library");
	::qRegisterMetaTypeStreamOperators<Libraries>("Libraries");
	QApplication app{argc, argv};
	MainWindow mainwindow;
	mainwindow.show();
	return app.exec();
}

mercurial