Kindfield
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Friends
Pages
hfgui
main.cpp
Go to the documentation of this file.
1
#include <QtGui/QGuiApplication>
2
#include <
hartreefock.h
>
3
#include <
volumeeffect.h
>
4
#include "
qtquick2applicationviewer.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
12
QtQuick2ApplicationViewer
viewer;
13
viewer.
setMainQmlFile
(QStringLiteral(
"qml/hfgui/main.qml"
));
14
viewer.
showExpanded
();
15
16
return
app.exec();
17
}
Generated on Sun Jun 22 2014 14:02:46 for Kindfield by
1.8.4