src/main.cpp

changeset 150
b6cbba6e29a1
parent 148
e1ced2523cad
child 158
5bd755eaa5a8
equal deleted inserted replaced
148:e1ced2523cad 150:b6cbba6e29a1
27 QCoreApplication::setApplicationName(::appName); 27 QCoreApplication::setApplicationName(::appName);
28 QCoreApplication::setOrganizationName("hecknology.net"); 28 QCoreApplication::setOrganizationName("hecknology.net");
29 QCoreApplication::setOrganizationDomain("hecknology.net"); 29 QCoreApplication::setOrganizationDomain("hecknology.net");
30 ::qRegisterMetaTypeStreamOperators<Library>("Library"); 30 ::qRegisterMetaTypeStreamOperators<Library>("Library");
31 ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); 31 ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries");
32
33 glm::mat4 mat = glm::scale(glm::mat4{1}, {3, 3, 3});
34 glm::vec4 x = {1,2,3,4};
35
36 QApplication app{argc, argv}; 32 QApplication app{argc, argv};
37 /*
38 QMessageBox::information(nullptr, "", QMetaType::typeName( qMetaTypeId<ldraw::Color>() ));
39 */
40 MainWindow mainwindow; 33 MainWindow mainwindow;
41 mainwindow.show(); 34 mainwindow.show();
42 return app.exec(); 35 return app.exec();
43 } 36 }
44 37

mercurial