1 /****************************************************************************
2
3 Copyright (C) 2002-2014 Gilles Debunne. All rights reserved.
4
5 This file is part of the QGLViewer library version 2.7.2.
6
7 http://www.libqglviewer.com - contact@libqglviewer.com
8
9 This file may be used under the terms of the GNU General Public License
10 versions 2.0 or 3.0 as published by the Free Software Foundation and
11 appearing in the LICENSE file included in the packaging of this file.
12 In addition, as a special exception, Gilles Debunne gives you certain
13 additional rights, described in the file GPL_EXCEPTION in this package.
14
15 libQGLViewer uses dual licensing. Commercial/proprietary software must
16 purchase a libQGLViewer Commercial License.
17
18 This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20
21 *****************************************************************************/
22
23 #include "simpleViewer.h"
24 #include <qapplication.h>
25
main(int argc,char ** argv)26 int main(int argc, char **argv) {
27 // Read command lines arguments.
28 QApplication application(argc, argv);
29
30 // Instantiate the viewer.
31 Viewer viewer;
32
33 viewer.setWindowTitle("simpleViewer");
34
35 // Make the viewer window visible on screen.
36 viewer.show();
37
38 // Run main loop.
39 return application.exec();
40 }
41