Wed, 01 Jan 2020 17:45:56 +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(); }