src/main.cpp

Sat, 14 Dec 2019 23:00:01 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 14 Dec 2019 23:00:01 +0200
changeset 20
cef43609a374
parent 17
a5111f4e6412
child 24
1a0faaaceb84
permissions
-rw-r--r--

fixed build

#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