git-svn-id: svn://db.shs.com.ru/libs@42 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -20,10 +20,10 @@
|
||||
#include <QCleanlooksStyle>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <GL/glew.h>
|
||||
//#include "mainwindow.h"
|
||||
#include "unistd.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "mainwindow.h"
|
||||
//#include <GL/glew.h>
|
||||
//#include <GL/freeglut.h>
|
||||
//#include "unistd.h"
|
||||
|
||||
/*void display ()
|
||||
{
|
||||
@@ -93,7 +93,7 @@ int main(int argc, char ** argv) {
|
||||
|
||||
glutMainLoop();
|
||||
*/
|
||||
return 0;
|
||||
//return 0;
|
||||
QApplication a(argc, argv);
|
||||
/*QGLFormat f;
|
||||
f.setVersion(3, 3);
|
||||
@@ -101,9 +101,9 @@ int main(int argc, char ** argv) {
|
||||
f.setProfile(QGLFormat::CoreProfile);
|
||||
QGLFormat::setDefaultFormat(f);*/
|
||||
//QApplication::setStyle(new QCleanlooksStyle());
|
||||
QDir::setCurrent(a.applicationDirPath());
|
||||
//QDir::setCurrent(a.applicationDirPath());
|
||||
//a.setWindowIcon(QIcon(":/icons/peri4_paint.png"));
|
||||
//MainWindow w;
|
||||
//w.show();
|
||||
MainWindow w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user