Fri, 13 Dec 2019 21:35:59 +0200
things
| 0 | 1 | #include <QApplication> |
| 6 | 2 | #include <QDir> |
| 17 | 3 | #include <QtDebug> |
| 4 | #include <GL/glut.h> | |
| 0 | 5 | #include "main.h" |
| 6 | #include "mainwindow.h" | |
|
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
7 | #include "version.h" |
| 17 | 8 | #include "matrix.h" |
| 0 | 9 | |
| 10 | int main(int argc, char *argv[]) | |
| 11 | { | |
| 17 | 12 | ::glutInit(&argc, argv); |
|
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
13 | QCoreApplication::setApplicationName(::appName); |
|
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
14 | QCoreApplication::setOrganizationName("hecknology.net"); |
|
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
15 | QCoreApplication::setOrganizationDomain("hecknology.net"); |
|
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
16 | ::qRegisterMetaTypeStreamOperators<Library>("Library"); |
|
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
17 | ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); |
| 3 | 18 | QApplication app{argc, argv}; |
| 19 | MainWindow mainwindow; | |
| 20 | mainwindow.show(); | |
| 21 | return app.exec(); | |
| 0 | 22 | } |