| 17 | #include <itksys/SystemTools.hxx> |
| 18 | |
| 19 | int main(int argc, char *argv[]) |
| 20 | { |
| 21 | QApplication qtapplication(argc, argv); |
| 22 | |
| 23 | if (argc < 2) |
| 24 | { |
| 25 | fprintf( |
| 26 | stderr, "Usage: %s [filename1] [filename2] ...\n\n", itksys::SystemTools::GetFilenameName(argv[0]).c_str()); |
| 27 | return 1; |
| 28 | } |
| 29 | |
| 30 | // Register Qmitk-dependent global instances |
| 31 | QmitkRegisterClasses(); |
| 32 | |
| 33 | Step8 mainWidget(argc, argv, nullptr); |
| 34 | mainWidget.Initialize(); |
| 35 | mainWidget.show(); |
| 36 | |
| 37 | return qtapplication.exec(); |
| 38 | } |
| 39 | /** |
| 40 | \example Step8main.cpp |
| 41 | */ |
nothing calls this directly
no test coverage detected