Sun, 03 Nov 2019 18:17:08 +0200
split quadrilateral and triangle into their own source files
#include <QApplication> #include <QDir> #include "main.h" #include "mainwindow.h" #include "version.h" int main(int argc, char *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(); }