Changeset 418 for experimental/osgVisualGuiNG/main.cpp
- Timestamp:
- Aug 17, 2012, 10:36:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experimental/osgVisualGuiNG/main.cpp
r415 r418 1 1 #include "osgvisualgui.h" 2 #include "debug.h" 2 3 #include <QtGui/QApplication> 3 4 … … 5 6 { 6 7 QApplication a(argc, argv); 8 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); 9 10 QCoreApplication::setOrganizationName("osgVisual"); 11 QCoreApplication::setOrganizationDomain("osgvisual.org"); 12 QCoreApplication::setApplicationName("osgVisualGUI"); 13 14 // DEBUG-Handler installieren 15 QTextEdit *debug = new QTextEdit; 16 debug->hide(); 17 setDebugPointer( debug ); 18 qInstallMsgHandler( myMessageOutput ); 19 qDebug("MessageHandler installiert"); 20 7 21 osgVisualGUI w; 22 w.setDebug(debug); 8 23 w.show(); 9 24 return a.exec();
Note: See TracChangeset
for help on using the changeset viewer.