Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
Functions
main.cpp File Reference
#include <QtGui/QGuiApplication>
#include <hartreefock.h>
#include <volumeeffect.h>
#include "qtquick2applicationviewer.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 6 of file main.cpp.

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 }