src/main.cpp

changeset 24
1a0faaaceb84
parent 17
a5111f4e6412
child 35
98906a94732f
equal deleted inserted replaced
23:3387a84ddaba 24:1a0faaaceb84
1 /*
2 * LDForge: LDraw parts authoring CAD
3 * Copyright (C) 2013 - 2020 Teemu Piippo
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
1 #include <QApplication> 19 #include <QApplication>
2 #include <QDir>
3 #include <QtDebug>
4 #include <GL/glut.h> 20 #include <GL/glut.h>
5 #include "main.h"
6 #include "mainwindow.h" 21 #include "mainwindow.h"
7 #include "version.h" 22 #include "version.h"
8 #include "matrix.h"
9 23
10 int main(int argc, char *argv[]) 24 int main(int argc, char *argv[])
11 { 25 {
12 ::glutInit(&argc, argv); 26 ::glutInit(&argc, argv);
13 QCoreApplication::setApplicationName(::appName); 27 QCoreApplication::setApplicationName(::appName);

mercurial