Sat, 14 Dec 2019 23:00:01 +0200
fixed build
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 | } |