15 * You should have received a copy of the GNU General Public License |
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/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
19 #include <QApplication> |
19 #include <QApplication> |
20 #include <GL/glut.h> |
|
21 #include "mainwindow.h" |
20 #include "mainwindow.h" |
22 #include "version.h" |
21 #include "version.h" |
23 |
22 |
24 int main(int argc, char *argv[]) |
23 int main(int argc, char *argv[]) |
25 { |
24 { |
26 ::glutInit(&argc, argv); |
|
27 QCoreApplication::setApplicationName(::appName); |
25 QCoreApplication::setApplicationName(::appName); |
28 QCoreApplication::setOrganizationName("hecknology.net"); |
26 QCoreApplication::setOrganizationName("hecknology.net"); |
29 QCoreApplication::setOrganizationDomain("hecknology.net"); |
27 QCoreApplication::setOrganizationDomain("hecknology.net"); |
30 ::qRegisterMetaTypeStreamOperators<Library>("Library"); |
28 ::qRegisterMetaTypeStreamOperators<Library>("Library"); |
31 ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); |
29 ::qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); |