Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. #include <QtGui/QApplication>
  2. #include "MainWindow.h"
  3. #include "VolumeData.h"
  4. #include "Logger.h"
  5.  
  6. #include <iostream>
  7.  
  8. using namespace std;
  9.  
  10. int main(int argc, char *argv[])
  11. {
  12.     Logger::instance()->setLogLevelForConsole(Logger::DEBUG);
  13.     Logger::instance()->setLogLevelForFile(Logger::DEBUG);
  14.  
  15.     QApplication a(argc, argv);
  16.     MainWindow w;
  17.  
  18.     Logger::instance()->log(Logger::DEBUG, "huhu");
  19.  
  20.     VolumeData test("volumedata/lobster.dat");
  21.  
  22.     cerr << "hallo" << endl;
  23.  
  24.     w.show();
  25.  
  26.     return a.exec();
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement