Updated to use Qt6; Created initial structure of the viewer with OpenGL widget

This commit is contained in:
dushyant basson
2023-08-12 02:42:11 +05:30
parent 6263766202
commit db4fdff091
8 changed files with 205 additions and 116 deletions
+5 -17
View File
@@ -1,24 +1,12 @@
#include "MainWindow.h"
#include <QApplication>
#include <QString>
#ifndef QT_NO_OPENGL
#include <QGLFormat>
#endif
#include "mainwindow.h"
int main(int argc, char **argv)
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
//QGLViewer viewer;
// Restore the previous viewer state.
//viewer.restoreStateFromFile();
MainWindow window;
//window.openFile(" ");
QApplication app(argc, argv);
MainWindow window;
window.show();
return app.exec();