#include <QApplication>
#include <itksys/SystemTools.hxx>
int main(
int argc,
char *argv[])
{
QApplication qtapplication(argc, argv);
if (argc < 2)
{
fprintf(
stderr, "Usage: %s [filename1] [filename2] ...\n\n", itksys::SystemTools::GetFilenameName(argv[0]).c_str());
return 1;
}
Step7 mainWidget(argc, argv,
nullptr);
mainWidget.show();
if (strcmp(argv[argc - 1], "-testing") != 0)
return qtapplication.exec();
else
}