Ignore:
Timestamp:
Aug 17, 2012, 10:36:03 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/osgVisualGuiNG/main.cpp

    r415 r418  
    11#include "osgvisualgui.h"
     2#include "debug.h"
    23#include <QtGui/QApplication>
    34
     
    56{
    67        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
    721        osgVisualGUI w;
     22        w.setDebug(debug);
    823        w.show();
    924        return a.exec();
Note: See TracChangeset for help on using the changeset viewer.