Sun, 03 Nov 2019 12:17:41 +0200
major update with many things
| 0 | 1 | #include <QApplication> | 
| 6 | 2 | #include <QDir> | 
| 0 | 3 | #include "main.h" | 
| 4 | #include "mainwindow.h" | |
| 
7
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
5 | #include "version.h" | 
| 0 | 6 | |
| 7 | int main(int argc, char *argv[]) | |
| 8 | { | |
| 
7
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
9 | QCoreApplication::setApplicationName(::appName); | 
| 
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
10 | QCoreApplication::setOrganizationName("hecknology.net"); | 
| 
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
11 | QCoreApplication::setOrganizationDomain("hecknology.net"); | 
| 
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
12 | ::qRegisterMetaTypeStreamOperators<Library>("Library"); | 
| 
 
68443f5be176
added the settings editor
 
Teemu Piippo <teemu@hecknology.net> 
parents: 
6 
diff
changeset
 | 
13 | ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); | 
| 3 | 14 | QApplication app{argc, argv}; | 
| 15 | MainWindow mainwindow; | |
| 16 | mainwindow.show(); | |
| 17 | return app.exec(); | |
| 0 | 18 | } |