Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
main.cpp
Go to the documentation of this file.
1 #include <QtGui/QGuiApplication>
2 #include <hartreefock.h>
3 #include <volumeeffect.h>
5 
6 int main(int argc, char *argv[])
7 {
8  qmlRegisterType<HartreeFock>("Dragly", 1, 0, "HartreeFock");
9  qmlRegisterType<VolumeShaderProgram>("Dragly", 1, 0, "VolumeShaderProgram");
10  QGuiApplication app(argc, argv);
11 
13  viewer.setMainQmlFile(QStringLiteral("qml/hfgui/main.qml"));
14  viewer.showExpanded();
15 
16  return app.exec();
17 }