src/main.cpp

Wed, 01 Jan 2020 17:45:56 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 01 Jan 2020 17:45:56 +0200
changeset 21
0133e565e072
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