28 #include <QApplication> 32 #include <vtkObject.h> 40 CoInitialize(
nullptr);
43 #if VTK_MAJOR_VERSION >= 8 44 vtkObject::GlobalWarningDisplayOff();
47 QApplication *
app =
new QApplication(argc, argv);
50 mainWindow->showNormal();
58 app->connect( app, SIGNAL( lastWindowClosed() ),
59 app, SLOT( quit() ) );
64 UINFO(
"All done! closing...");
int main(int argc, char *argv[])
static void setLevel(ULogger::Level level)
static void setType(Type type, const std::string &fileName=kDefaultLogFileName, bool append=true)
bool openDatabase(const QString &path)
ULogger class and convenient macros.