#include <QDesktopWidget>
#include <QDir>
+#if VTK_MAJOR_VERSION > 5
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkInteractionStyle);
VTK_MODULE_INIT(vtkRenderingOpenGL);
VTK_MODULE_INIT(vtkRenderingFreeType);
#define vtkRenderingContext2D_AUTOINIT 1(vtkRenderingContextOpenGL)
+#endif
#include "clitkIO.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
+#pragma comment(lib, "ws2_32.lib")
typedef enum {O_BASE,O_OVERLAY,O_FUSION,O_VF,O_CONTOUR,O_LANDMARKS} OpenModeType;
typedef enum {P_NORMAL,P_SEQUENCE,P_WINDOW,P_LEVEL} ParseModeType;