Fri, 13 Dec 2019 21:35:59 +0200
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(); }