File: main.cpp

package info (click to toggle)
pivy 0.6.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,216 kB
  • sloc: python: 36,331; cpp: 787; ansic: 733; makefile: 30; sh: 27; objc: 5
file content (13 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <QApplication>
#include "mainwindow.h"
#include <Inventor/Qt/SoQt.h>

int main(int argc, char *argv[])
{
  SoQt::init(argc, argv, argv[0]);
  QApplication app(argc, argv);
  MainWindow *mw = new MainWindow();
  app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
  mw->show();
  return app.exec();
}