--- a/src/main.cpp Thu Oct 03 23:44:28 2019 +0300 +++ b/src/main.cpp Sat Oct 05 23:47:03 2019 +0300 @@ -2,9 +2,15 @@ #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();